update defaults and README
This commit is contained in:
parent
3c2d300bea
commit
c0bcb23a93
13
README.md
13
README.md
|
@ -257,6 +257,19 @@ Endpoint = server.at.home.p.domain.tld:51820
|
|||
|
||||
The other WireGuard config files (`wg0.conf` by default) looks similar but of course `[Interface]` includes the config of that specific host and the `[Peer]` entries lists the config of the other hosts.
|
||||
|
||||
Following variable allows to configure unmanaged hosts which are not configured by Ansible, typically smartphones and tablets.
|
||||
In this case, private key and client configuration are generated on wireguard hub.
|
||||
They can be shared through qrcode.
|
||||
```
|
||||
wireguard_unmanaged_hosts:
|
||||
- host: 'test'
|
||||
allowed_ips: 10.200.10.10/32
|
||||
dns: 10.200.10.1
|
||||
- host: 'test2'
|
||||
allowed_ips: 10.200.10.11/32
|
||||
dns: 10.200.10.1
|
||||
```
|
||||
|
||||
Example Playbook
|
||||
----------------
|
||||
|
||||
|
|
|
@ -7,3 +7,11 @@ wireguard_port: "51820"
|
|||
|
||||
# The default interface name that wireguard should use if not specified otherwise.
|
||||
wireguard_interface: "wg0"
|
||||
|
||||
#wireguard_unmanaged_hosts:
|
||||
# - host: 'test'
|
||||
# allowed_ips: 10.200.10.10/32
|
||||
# dns: 10.200.10.1
|
||||
# - host: 'test2'
|
||||
# allowed_ips: 10.200.10.11/32
|
||||
# dns: 10.200.10.1
|
||||
|
|
Reference in a new issue