diff options
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/ansible.cfg | 2 | ||||
-rw-r--r-- | ansible/group_vars/all/wireguard_wg_edipost.yml (renamed from ansible/group_vars/all/wireguard_wg-edipost.yml) | 4 | ||||
-rw-r--r-- | ansible/group_vars/all/wireguard_wg_hesland.yml (renamed from ansible/group_vars/all/wireguard_wg-hesland.yml) | 2 | ||||
-rw-r--r-- | ansible/group_vars/all/wireguard_wg_net1.yml (renamed from ansible/group_vars/all/wireguard_wg-net1.yml) | 2 | ||||
-rw-r--r-- | ansible/wireguard.yml | 13 |
5 files changed, 13 insertions, 10 deletions
diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 5f7f40b..06682af 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -9,4 +9,4 @@ roles_path = roles:thirdparty retry_files_enabled = False strategy_plugins = env/lib/python3.7/site-packages/ansible_mitogen/plugins/strategy -strategy = mitogen_linear +#strategy = mitogen_linear diff --git a/ansible/group_vars/all/wireguard_wg-edipost.yml b/ansible/group_vars/all/wireguard_wg_edipost.yml index 72e4977..3511ab5 100644 --- a/ansible/group_vars/all/wireguard_wg-edipost.yml +++ b/ansible/group_vars/all/wireguard_wg_edipost.yml @@ -1,4 +1,4 @@ -wireguard-wg-edipost: +wireguard_wg_edipost: if: wg-edipost ipv4_prefix: 24 shared_routes: @@ -10,6 +10,8 @@ wireguard-wg-edipost: conflatorio: state: present ipv4: 192.168.200.138 + arius: + ipv4: 192.168.200.150 edipost-wg: public_key: VWEMk20CI5RJohjnar4HicuaZbj3d1aoewvQNorWITs= endpoint: 77.106.183.85 diff --git a/ansible/group_vars/all/wireguard_wg-hesland.yml b/ansible/group_vars/all/wireguard_wg_hesland.yml index 6755799..f9de778 100644 --- a/ansible/group_vars/all/wireguard_wg-hesland.yml +++ b/ansible/group_vars/all/wireguard_wg_hesland.yml @@ -1,4 +1,4 @@ -wireguard-wg-hesland: +wireguard_wg_hesland: if: wg-hesland ipv4_prefix: 24 hosts: diff --git a/ansible/group_vars/all/wireguard_wg-net1.yml b/ansible/group_vars/all/wireguard_wg_net1.yml index 33044ab..bc2c39e 100644 --- a/ansible/group_vars/all/wireguard_wg-net1.yml +++ b/ansible/group_vars/all/wireguard_wg_net1.yml @@ -1,4 +1,4 @@ -wireguard-wg-net1: +wireguard_wg_net1: if: wg-net1 ipv4_prefix: 24 ipv6_prefix: 64 diff --git a/ansible/wireguard.yml b/ansible/wireguard.yml index 9d0151a..26ee9ff 100644 --- a/ansible/wireguard.yml +++ b/ansible/wireguard.yml @@ -1,12 +1,12 @@ - hosts: - - wireguard_wg-net1 + - wireguard_wg_net1 tags: - never - wg-net1 roles: - role: wireguard wireguard__state: absent - wireguard__name: wireguard-wg-net1 + wireguard__name: wireguard_wg_net1 - hosts: - wireguard_wg0 @@ -27,17 +27,18 @@ - hosts: - wireguard_hesland - tags: wg-hesland + tags: wg_hesland roles: - role: wireguard - wireguard__name: wireguard-wg-hesland + wireguard__name: wireguard_wg_hesland wireguard__state: absent - hosts: - wireguard_edipost - tags: wg-edipost + tags: wg_edipost roles: - role: wireguard - wireguard__name: wireguard-wg-edipost + wireguard__name: wireguard_wg_edipost + wireguard__state: absent vars: wg_net: "{{ hostvars[ansible_hostname][wireguard__name] }}" |