From 210a4d5da9e5502c3afc6888458798d9c7740e96 Mon Sep 17 00:00:00 2001 From: CTPEJIKuH <107935223+CTPEJIKuH@users.noreply.github.com> Date: Sun, 12 May 2024 23:05:00 +0900 Subject: [PATCH] Updated Using WireGuard Easy with Ansible (markdown) --- Using-WireGuard-Easy-with-Ansible.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Using-WireGuard-Easy-with-Ansible.md b/Using-WireGuard-Easy-with-Ansible.md index bc4d811..5226910 100644 --- a/Using-WireGuard-Easy-with-Ansible.md +++ b/Using-WireGuard-Easy-with-Ansible.md @@ -31,12 +31,12 @@ all: wireguard_addresses: hosts: - my-vm: + your-vm: ansible_host: 123.45.67.89 ``` -Instead of 123.45.67.89, you need to specify the IP of your virtual machine. +Instead of your-vm, specify the name of your virtual machine. -Instead of my-vm, specify the name of your virtual machine. +Instead of 123.45.67.89, you need to specify the IP of your virtual machine. In the inventories/prod/group_vars/all.yml file, set the password for the Wireguard web interface: ```bash @@ -51,9 +51,14 @@ The playbook also provides backup functionality. *** # Entry Point -At the end of the Ansible run, a message like the following will be displayed: -UI address: http://123.45.67.890:51821 -This will be the web interface. +At the end of the Ansible run, a message like the following will be displayed your UI address: + +``` +TASK [wireguard : Output UI address] ******************************************************************************* +ok: [your-vm] => { + "msg": "UI address: http://123.45.67.89:51821" +} +``` ***