diff options
Diffstat (limited to 'ansible/plays')
-rw-r--r-- | ansible/plays/files/wireguard/vs0/akili.pub | 1 | ||||
-rw-r--r-- | ansible/plays/files/wireguard/vs0/birgitte.pub | 2 | ||||
-rw-r--r-- | ansible/plays/wireguard-vs0.yml | 11 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ansible/plays/files/wireguard/vs0/akili.pub b/ansible/plays/files/wireguard/vs0/akili.pub new file mode 100644 index 0000000..a2538f0 --- /dev/null +++ b/ansible/plays/files/wireguard/vs0/akili.pub @@ -0,0 +1 @@ +2DB9LXhRUBzhKCN/gEbybDE1Rt1Lc18IOSDsxeCUS2E= diff --git a/ansible/plays/files/wireguard/vs0/birgitte.pub b/ansible/plays/files/wireguard/vs0/birgitte.pub index fcc93c3..ea6e08a 100644 --- a/ansible/plays/files/wireguard/vs0/birgitte.pub +++ b/ansible/plays/files/wireguard/vs0/birgitte.pub @@ -1 +1 @@ -NBTz38oefUN5Thj7kwcL91fV7HL+xf6iju5/AgR2bC0= +iQ498LH696x3WXqb6pdqnZQ9XLwPH2BpRVtoKWhbtH4= diff --git a/ansible/plays/wireguard-vs0.yml b/ansible/plays/wireguard-vs0.yml index 04eee72..079e373 100644 --- a/ansible/plays/wireguard-vs0.yml +++ b/ansible/plays/wireguard-vs0.yml @@ -21,12 +21,12 @@ network: 10.137.3.0 prefix: 24 akili: - address: 192.168.137.4/24 - network: 10.137.4.0 + address: 192.168.137.104/24 + network: 10.137.104.0 prefix: 24 birgitte: - address: 192.168.137.5/24 - network: 10.137.5.0 + address: 192.168.137.105/24 + network: 10.137.105.0 prefix: 24 wireguard_routers: @@ -46,6 +46,7 @@ network: "{{ networks['birgitte'].network }}/{{ networks['birgitte'].prefix }}" state: "{{ 'absent' if ansible_hostname == 'birgitte' else 'present' }}" + # The peers' public keys are in plays/files/wireguard/vs0 wireguard_peers: vimscore-1: endpoint: vimscore-1.vimscore.com @@ -63,12 +64,10 @@ - "{{ networks['vimscore-3'].address | ipaddr('address') }}/32" - "{{ networks['vimscore-3'].network }}/{{ networks['vimscore-3'].prefix }}" akili: - public_key: UZc6XKf9ULUbBc4CI01DdCdyuj+lHvc1NQRhGJH/TE4= allowed_ips: - "{{ networks['akili'].address | ipaddr('address') }}/32" - "{{ networks['akili'].network }}/{{ networks['akili'].prefix }}" birgitte: - public_key: NBTz38oefUN5Thj7kwcL91fV7HL+xf6iju5/AgR2bC0= allowed_ips: - "{{ networks['birgitte'].address | ipaddr('address') }}/32" - "{{ networks['birgitte'].network }}/{{ networks['birgitte'].prefix }}" |