ansible/host_vars/azerty/vpn.yml

14 lines
492 B
YAML
Raw Normal View History

2021-04-22 21:44:40 +02:00
---
vpn_interfaces:
wg0:
ip: "{{ interfaces.wg0.ipv4 }}"
2021-04-22 21:44:40 +02:00
private_key: "{{ vpn_vault_azerty_key }}"
2021-04-22 22:12:57 +02:00
public_key: "o9rdoSdnp4twbNbZAMl0wY4sFQh647qqRv6V8HJwMQY="
2021-04-22 21:44:40 +02:00
keepalive: true
peers:
2021-04-27 20:57:23 +02:00
- endpoint: "{{ hostvars['hindley'].interfaces.enp2s0.ipv4 }}"
public_key: "{{ hostvars['hindley'].vpn_interfaces.wg0.public_key }}"
allowed_ip: "{{ hostvars['hindley'].vpn_interfaces.wg0.ip }}"
2021-04-22 21:44:40 +02:00
allowed_mask: "{{ interfaces.wg0.netmaskv4 }}"
2021-04-23 00:40:31 +02:00
comment: "hindley"