Added example inventory
This commit is contained in:
parent
eb816300f8
commit
c733030361
35
README.md
35
README.md
@ -17,6 +17,41 @@ The role uses the `wg-quick` control which is also exposed via a Systemd service
|
|||||||
- create-wireguard-mesh-network
|
- create-wireguard-mesh-network
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Example inventory
|
||||||
|
|
||||||
|
```
|
||||||
|
all:
|
||||||
|
hosts:
|
||||||
|
your-host-1:
|
||||||
|
pipelining: true
|
||||||
|
ansible_ssh_user: root
|
||||||
|
ansible_host: 172.0.0.1
|
||||||
|
ansible_ssh_port: 22
|
||||||
|
|
||||||
|
wireguard_ip: 10.1.0.1
|
||||||
|
|
||||||
|
your-host-2:
|
||||||
|
pipelining: true
|
||||||
|
ansible_ssh_user: root
|
||||||
|
ansible_host: 172.0.0.2
|
||||||
|
ansible_ssh_port: 22
|
||||||
|
|
||||||
|
wireguard_ip: 10.2.0.1
|
||||||
|
|
||||||
|
your-host-3:
|
||||||
|
pipelining: true
|
||||||
|
ansible_ssh_user: root
|
||||||
|
ansible_host: 172.0.0.3
|
||||||
|
ansible_ssh_port: 22
|
||||||
|
|
||||||
|
wireguard_ip: 10.3.0.1
|
||||||
|
|
||||||
|
vars:
|
||||||
|
ansible_become_method: su
|
||||||
|
wireguard_mask_bits: 24
|
||||||
|
wireguard_port: 51871
|
||||||
|
```
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
This role is based on [Tyler-OBrien/wireguard-mesh-network-ansible](https://github.com/Tyler-OBrien/wireguard-mesh-network-ansible), which is based on [jawher/automation-wireguard](https://github.com/jawher/automation-wireguard).
|
This role is based on [Tyler-OBrien/wireguard-mesh-network-ansible](https://github.com/Tyler-OBrien/wireguard-mesh-network-ansible), which is based on [jawher/automation-wireguard](https://github.com/jawher/automation-wireguard).
|
||||||
|
Loading…
Reference in New Issue
Block a user