ansible-edda/playbooks/vpn.yml

35 lines
1.2 KiB
YAML
Raw Normal View History

2022-12-07 22:07:39 +01:00
---
2022-12-08 23:27:25 +01:00
- name: "vpn : all"
2022-12-07 22:07:39 +01:00
hosts: "all"
roles:
2022-12-18 19:36:21 +01:00
- role: "vpn/base"
2022-12-07 22:07:39 +01:00
tags: "vpn:base"
2022-12-18 19:36:21 +01:00
- role: "vpn/wireguard"
tags: "vpn:wireguard"
2022-12-08 23:27:25 +01:00
- name: "vpn : asgard"
hosts: "asgard"
roles:
2022-12-18 19:36:21 +01:00
- role: "vpn/bridge"
2022-12-08 23:27:25 +01:00
tags: "vpn:bridge"
- name: "vpn : heimdall"
hosts: "heimdall"
roles:
- role: "vpn/wireguard"
tags: "vpn:airvpn"
vars:
vpn_wireguard_iface: "wg-airvpn"
vpn_wireguard_role: "{{ vpn_airvpn_role }}"
vpn_wireguard_port: "{{ vpn_airvpn_port }}"
vpn_wireguard_address: "{{ vpn_airvpn_address }}"
vpn_wireguard_prefixlen: "{{ vpn_airvpn_prefixlen }}"
vpn_wireguard_address_v6: "{{ vpn_airvpn_address_v6 }}"
vpn_wireguard_prefixlen_v6: "{{ vpn_airvpn_prefixlen_v6 }}"
vpn_wireguard_mtu: "{{ vpn_airvpn_mtu }}"
vpn_wireguard_interface_private_key: "{{ vpn_airvpn_interface_private_key }}"
vpn_wireguard_server_public_key: "{{ vpn_airvpn_server_public_key }}"
vpn_wireguard_server_preshared_key: "{{ vpn_airvpn_server_preshared_key }}"
vpn_wireguard_server_address: "{{ vpn_airvpn_server_address }}"
vpn_wireguard_routing_table: "{{ vpn_airvpn_routing_table }}"