Updated Using WireGuard Easy with Ansible (markdown)
@@ -31,12 +31,12 @@ all:
|
|||||||
|
|
||||||
wireguard_addresses:
|
wireguard_addresses:
|
||||||
hosts:
|
hosts:
|
||||||
my-vm:
|
your-vm:
|
||||||
ansible_host: 123.45.67.89
|
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:
|
In the inventories/prod/group_vars/all.yml file, set the password for the Wireguard web interface:
|
||||||
```bash
|
```bash
|
||||||
@@ -51,9 +51,14 @@ The playbook also provides backup functionality.
|
|||||||
***
|
***
|
||||||
|
|
||||||
# Entry Point
|
# Entry Point
|
||||||
At the end of the Ansible run, a message like the following will be displayed:
|
At the end of the Ansible run, a message like the following will be displayed your UI address:
|
||||||
UI address: http://123.45.67.890:51821
|
|
||||||
This will be the web interface.
|
```
|
||||||
|
TASK [wireguard : Output UI address] *******************************************************************************
|
||||||
|
ok: [your-vm] => {
|
||||||
|
"msg": "UI address: http://123.45.67.89:51821"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user