12 lines
503 B
YAML
12 lines
503 B
YAML
---
|
|
vpn_interfaces:
|
|
wg0:
|
|
ip: "{{ interfaces.wg0.ipv4 }}"
|
|
private_key: "{{ vpn_vault_azerty_key }}"
|
|
public_key: "o9rdoSdnp4twbNbZAMl0wY4sFQh647qqRv6V8HJwMQY="
|
|
keepalive: true
|
|
peers:
|
|
- endpoint: "{{ hostvars['hindley.adh.auro.re'].interfaces.enp2s0.ipv4 }}"
|
|
public_key: "{{ hostvars['hindley.adh.auro.re'].vpn_interfaces.wg0.public_key }}"
|
|
allowed_ip: "{{ hostvars['hindley.adh.auro.re'].vpn_interfaces.wg0.ip }}"
|
|
allowed_mask: "{{ interfaces.wg0.netmaskv4 }}"
|