14 lines
489 B
YAML
14 lines
489 B
YAML
|
---
|
||
|
vpn_interfaces:
|
||
|
wg0:
|
||
|
ip: "{{ interfaces.wg0.ipv4 }}"
|
||
|
private_key: "{{ vpn_vault_vm2_key }}"
|
||
|
public_key: "pxsYnL8N3VVVLlkXA8NOkqWsrSMrgdL1vj/VnZfKdRo="
|
||
|
keepalive: true
|
||
|
peers:
|
||
|
- endpoint: "{{ hostvars['hindley'].interfaces.enp2s0.ipv4 }}"
|
||
|
public_key: "{{ hostvars['hindley'].vpn_interfaces.wg0.public_key }}"
|
||
|
allowed_ip: "{{ hostvars['hindley'].vpn_interfaces.wg0.ip }}"
|
||
|
allowed_mask: "{{ interfaces.wg0.netmaskv4 }}"
|
||
|
comment: "hindley"
|