From 4083f32156c5df71cb6ea370a411e152c8a67b8b Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 12 Dec 2020 18:49:11 +0100 Subject: vs0 += arius. --- ansible/plays/files/wireguard/vs0/arius.pub | 1 + ansible/plays/files/wireguard/vs0/vimscore-1.pub | 2 +- ansible/plays/files/wireguard/vs0/vimscore-2.pub | 2 +- ansible/plays/files/wireguard/vs0/vimscore-3.pub | 2 +- ansible/plays/wireguard-vs0.yml | 12 ++++++++++++ 5 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 ansible/plays/files/wireguard/vs0/arius.pub (limited to 'ansible') diff --git a/ansible/plays/files/wireguard/vs0/arius.pub b/ansible/plays/files/wireguard/vs0/arius.pub new file mode 100644 index 0000000..02b4de9 --- /dev/null +++ b/ansible/plays/files/wireguard/vs0/arius.pub @@ -0,0 +1 @@ +TkNn2Sgnh/nZv5W7z05yEyTWpcXa5IihSuaUzZr5tgs= diff --git a/ansible/plays/files/wireguard/vs0/vimscore-1.pub b/ansible/plays/files/wireguard/vs0/vimscore-1.pub index ed7da6a..77dbe95 100644 --- a/ansible/plays/files/wireguard/vs0/vimscore-1.pub +++ b/ansible/plays/files/wireguard/vs0/vimscore-1.pub @@ -1 +1 @@ -5upofMGG4o7GO1fMYIUye/QImQwEJBXIlAMaH8QzzBk= +/9osD/owBAEJO7BTsIAoaSYFYErCXqQ/27ylrA6zf0Q= diff --git a/ansible/plays/files/wireguard/vs0/vimscore-2.pub b/ansible/plays/files/wireguard/vs0/vimscore-2.pub index 45d1586..1c3ddb3 100644 --- a/ansible/plays/files/wireguard/vs0/vimscore-2.pub +++ b/ansible/plays/files/wireguard/vs0/vimscore-2.pub @@ -1 +1 @@ -rDEwWC433PMoQtyORPrXD4bHiuTobvbqjYYUtATiWgY= +7lIpGXIZwbd/U1/vUPXpZq0cv/KDs9jVo6chRHjrfS4= diff --git a/ansible/plays/files/wireguard/vs0/vimscore-3.pub b/ansible/plays/files/wireguard/vs0/vimscore-3.pub index f1503a5..bdbad6b 100644 --- a/ansible/plays/files/wireguard/vs0/vimscore-3.pub +++ b/ansible/plays/files/wireguard/vs0/vimscore-3.pub @@ -1 +1 @@ -gnbNb32q7t9oFU801ASfx7hi3IzbPYP/b/jpNYmiuHg= +5nLW2TPpV7J/9wpiEuvj+LUDvrUZPyhXCdFEk2DKSGA= 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" -- cgit v1.2.3