ansible/host_vars/rossum/vpn.yml

14 lines
481 B
YAML
Raw Permalink Normal View History

2021-04-25 18:49:28 +02:00
---
vpn_interfaces:
wg0:
ip: "{{ interfaces.wg0.ipv4 }}"
2021-04-25 18:49:28 +02:00
private_key: "{{ vpn_vault_rossum_key }}"
public_key: "YNEp3V5wsDLxDR29WhzECOCdOxiOuxuAqUUwS3gJWT4="
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_ips:
- "{{ hostvars['hindley'].vpn_interfaces.wg0.ip }}/{{ interfaces.wg0.netmaskv4 }}"
2021-04-25 18:49:28 +02:00
comment: "hindley"