ansible/host_vars/hindley.adh.auro.re/vpn.yml

17 lines
643 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_hindley_key }}"
2021-04-22 22:12:57 +02:00
public_key: "Ce48/ZdvpI2S82bIivhiWHQsyidzTAtxCnEYojY3xEA="
2021-04-22 21:44:40 +02:00
keepalive: false
peers:
- endpoint: ""
2021-04-22 22:51:33 +02:00
public_key: "{{ hostvars['azerty.fil.sand.auro.re'].vpn_interfaces.wg0.public_key }}"
allowed_ip: "{{ hostvars['azerty.fil.sand.auro.re'].vpn_interfaces.wg0.ip }}"
2021-04-22 21:44:40 +02:00
allowed_mask: 32
- endpoint: ""
2021-04-22 22:51:33 +02:00
public_key: "{{ hostvars['hellman.fil.sand.auro.re'].vpn_interfaces.wg0.public_key }}"
allowed_ip: "{{ hostvars['hellman.fil.sand.auro.re'].vpn_interfaces.wg0.ip }}"
2021-04-22 21:44:40 +02:00
allowed_mask: 32