summaryrefslogtreecommitdiff
path: root/ansible/plays/wireguard-vs0.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/plays/wireguard-vs0.yml')
-rw-r--r--ansible/plays/wireguard-vs0.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/plays/wireguard-vs0.yml b/ansible/plays/wireguard-vs0.yml
index 079e373..a9a108b 100644
--- a/ansible/plays/wireguard-vs0.yml
+++ b/ansible/plays/wireguard-vs0.yml
@@ -1,4 +1,5 @@
- hosts:
+ - arius
- akili
- birgitte
roles:
@@ -20,6 +21,10 @@
address: 192.168.137.3/24
network: 10.137.3.0
prefix: 24
+ arius:
+ address: 192.168.137.103/24
+ network: 10.137.103.0
+ prefix: 24
akili:
address: 192.168.137.104/24
network: 10.137.104.0
@@ -39,6 +44,9 @@
- gateway: "{{ networks['vimscore-3'].address }}"
network: "{{ networks['vimscore-3'].network }}/{{ networks['vimscore-3'].prefix }}"
state: "{{ 'absent' if ansible_hostname == 'vimscore-3' else 'present' }}"
+ - gateway: "{{ networks['arius'].address }}"
+ network: "{{ networks['arius'].network }}/{{ networks['arius'].prefix }}"
+ state: "{{ 'absent' if ansible_hostname == 'arius' else 'present' }}"
- gateway: "{{ networks['akili'].address }}"
network: "{{ networks['akili'].network }}/{{ networks['akili'].prefix }}"
state: "{{ 'absent' if ansible_hostname == 'akili' else 'present' }}"
@@ -63,6 +71,10 @@
allowed_ips:
- "{{ networks['vimscore-3'].address | ipaddr('address') }}/32"
- "{{ networks['vimscore-3'].network }}/{{ networks['vimscore-3'].prefix }}"
+ arius:
+ allowed_ips:
+ - "{{ networks['arius'].address | ipaddr('address') }}/32"
+ - "{{ networks['arius'].network }}/{{ networks['arius'].prefix }}"
akili:
allowed_ips:
- "{{ networks['akili'].address | ipaddr('address') }}/32"