ansible/host_vars/hellman.fil.sand.auro.re/vpn.yml

13 lines
463 B
YAML
Raw Normal View History

2021-04-22 21:44:40 +02:00
---
vpn_interfaces:
wg0:
ip: "{{ interfaces.wg0.ipv4 }}"
private_key: "{{ vpn_vault_hellman_key }}"
2021-04-22 22:12:57 +02:00
public_key: "+qV1RHAgSigOkrxUKqpGR83bydmlIHrEiw+A7zjbRk4="
2021-04-22 21:44:40 +02:00
keepalive: true
peers:
- endpoint: "{{ hostvars['hindley.adh.auro.re'].enp2s0.ipv4 }}"
public_key: "{{ hostvars['hindley.adh.auro.re'].wg0.public_key }}"
allowed_ip: "{{ hostvars['hindley.adh.auro.re'].wg0.ip }}"
allowed_mask: "{{ interfaces.wg0.netmaskv4 }}"