diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-09-10 08:48:57 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-09-10 08:48:57 +0200 |
commit | 46934bb125c6b3fc53b1669cb5131f9c2f06ac0e (patch) | |
tree | 9a9b5032c922f8241b6821b58fd2629e72003057 /ansible/plays | |
parent | 918d066bfdee300e87a4c5777de6125bf62c76b2 (diff) | |
download | infra-46934bb125c6b3fc53b1669cb5131f9c2f06ac0e.tar.gz infra-46934bb125c6b3fc53b1669cb5131f9c2f06ac0e.tar.bz2 infra-46934bb125c6b3fc53b1669cb5131f9c2f06ac0e.tar.xz infra-46934bb125c6b3fc53b1669cb5131f9c2f06ac0e.zip |
wg0: Adding malabaricus.
Diffstat (limited to 'ansible/plays')
19 files changed, 66 insertions, 0 deletions
diff --git a/ansible/plays/files/akili/etc/wireguard/public-wg-net1.key b/ansible/plays/files/akili/etc/wireguard/public-wg-net1.key new file mode 100644 index 0000000..31725d2 --- /dev/null +++ b/ansible/plays/files/akili/etc/wireguard/public-wg-net1.key @@ -0,0 +1 @@ +g9j0a3WVjzjFXZFXxdI0zDOdLrmXNIdOppj06I+RtTI= diff --git a/ansible/plays/files/akili/etc/wireguard/public-wg0.key b/ansible/plays/files/akili/etc/wireguard/public-wg0.key new file mode 100644 index 0000000..f94a7b2 --- /dev/null +++ b/ansible/plays/files/akili/etc/wireguard/public-wg0.key @@ -0,0 +1 @@ +pFbHqAJuQPR+JwHDT6YT9pIpGPfDdhM1WU6RXfrZjCQ= diff --git a/ansible/plays/files/android-trygvis/etc/wireguard/public-wg1.key b/ansible/plays/files/android-trygvis/etc/wireguard/public-wg1.key new file mode 100644 index 0000000..4ab6833 --- /dev/null +++ b/ansible/plays/files/android-trygvis/etc/wireguard/public-wg1.key @@ -0,0 +1 @@ +9SgKebI72gmwuglEQfSOp3CKrYprUXam6+9BbEPnEkU= diff --git a/ansible/plays/files/arius/etc/borg/id_ed25519.pub b/ansible/plays/files/arius/etc/borg/id_ed25519.pub new file mode 100644 index 0000000..b4e14aa --- /dev/null +++ b/ansible/plays/files/arius/etc/borg/id_ed25519.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDjRKEgNV8t2WsejrR7C2nZTNd9x57/mwBj6FzubPf1C for borg @ arius diff --git a/ansible/plays/files/arius/etc/wireguard/public-wg-hesland.key b/ansible/plays/files/arius/etc/wireguard/public-wg-hesland.key new file mode 100644 index 0000000..3102f19 --- /dev/null +++ b/ansible/plays/files/arius/etc/wireguard/public-wg-hesland.key @@ -0,0 +1 @@ ++h76BN8VCL/pZcDjhpSJXyTcLrUc7bPbB+aqwu892Gc= diff --git a/ansible/plays/files/arius/etc/wireguard/public-wg-net1.key b/ansible/plays/files/arius/etc/wireguard/public-wg-net1.key new file mode 100644 index 0000000..879fa3c --- /dev/null +++ b/ansible/plays/files/arius/etc/wireguard/public-wg-net1.key @@ -0,0 +1 @@ +mgHlZP+w0qhE8h1ryyl4SzLLbcQaOLpAT7+SpVULrXE= diff --git a/ansible/plays/files/arius/etc/wireguard/public-wg0.key b/ansible/plays/files/arius/etc/wireguard/public-wg0.key new file mode 100644 index 0000000..a722138 --- /dev/null +++ b/ansible/plays/files/arius/etc/wireguard/public-wg0.key @@ -0,0 +1 @@ +8OOM3+qqdyh3uoI6/1pA+9/ksYwNB7jUk9HZx13zsS0= diff --git a/ansible/plays/files/birgitte/etc/borg/id_ed25519.pub b/ansible/plays/files/birgitte/etc/borg/id_ed25519.pub new file mode 100644 index 0000000..f4b79b5 --- /dev/null +++ b/ansible/plays/files/birgitte/etc/borg/id_ed25519.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINVpbC77vXGiv1PYPRDpIC9GpRuQNQdYfKOTO1eBPQx7 for borg @ birgitte diff --git a/ansible/plays/files/birgitte/etc/systemd/network/51-eth0.network b/ansible/plays/files/birgitte/etc/systemd/network/51-eth0.network new file mode 100644 index 0000000..82831c5 --- /dev/null +++ b/ansible/plays/files/birgitte/etc/systemd/network/51-eth0.network @@ -0,0 +1,5 @@ +[Match] +Name=eth0 + +[Network] +Bridge=lxc0-br diff --git a/ansible/plays/files/birgitte/etc/wireguard/public-wg-net1.key b/ansible/plays/files/birgitte/etc/wireguard/public-wg-net1.key new file mode 100644 index 0000000..22e2fe3 --- /dev/null +++ b/ansible/plays/files/birgitte/etc/wireguard/public-wg-net1.key @@ -0,0 +1 @@ +A+6nNcP2bjlLYy6QG7swT4mHwiC8C2P4bCQvy1hV93E= diff --git a/ansible/plays/files/birgitte/etc/wireguard/public-wg0.key b/ansible/plays/files/birgitte/etc/wireguard/public-wg0.key new file mode 100644 index 0000000..d595dff --- /dev/null +++ b/ansible/plays/files/birgitte/etc/wireguard/public-wg0.key @@ -0,0 +1 @@ +r/eymAwM7HDSJkkWSY2Ec7A+F8AQ7tuL0drD/OI1LyM= diff --git a/ansible/plays/files/conflatorio/etc/borg/id_ed25519.pub b/ansible/plays/files/conflatorio/etc/borg/id_ed25519.pub new file mode 100644 index 0000000..7bdbe0c --- /dev/null +++ b/ansible/plays/files/conflatorio/etc/borg/id_ed25519.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDOFPpZthu5br8GFccV9/RtMrm/A3hsM92g8IwSLli+J for borg @ conflatorio diff --git a/ansible/plays/files/conflatorio/etc/wireguard/public-wg-edipost.key b/ansible/plays/files/conflatorio/etc/wireguard/public-wg-edipost.key new file mode 100644 index 0000000..dd3609c --- /dev/null +++ b/ansible/plays/files/conflatorio/etc/wireguard/public-wg-edipost.key @@ -0,0 +1 @@ +JwZ1bmkuCvZfzzVzWqpEt5+NRAQ/B3ciURg2Gg5jdVw= diff --git a/ansible/plays/files/conflatorio/etc/wireguard/public-wg0.key b/ansible/plays/files/conflatorio/etc/wireguard/public-wg0.key new file mode 100644 index 0000000..f4cc915 --- /dev/null +++ b/ansible/plays/files/conflatorio/etc/wireguard/public-wg0.key @@ -0,0 +1 @@ +170TWFqJLCfkw48ddLLnx7zWAo1qpx/AQf8Dar8mSXY= diff --git a/ansible/plays/files/knot/etc/wireguard/public-wg0.key b/ansible/plays/files/knot/etc/wireguard/public-wg0.key new file mode 100644 index 0000000..8caf3db --- /dev/null +++ b/ansible/plays/files/knot/etc/wireguard/public-wg0.key @@ -0,0 +1 @@ +cuUgTdFH1UEXpUH6V1nashdH7K/L+pl6dmJCpBWN+Xw= diff --git a/ansible/plays/files/knot/etc/wireguard/public-wg1.key b/ansible/plays/files/knot/etc/wireguard/public-wg1.key new file mode 100644 index 0000000..0b891d1 --- /dev/null +++ b/ansible/plays/files/knot/etc/wireguard/public-wg1.key @@ -0,0 +1 @@ +LM3L40nY0FWMECG6oP8VWYDjWVkRLp3kK0fofP3W7S0= diff --git a/ansible/plays/files/malabaricus/etc/wireguard/public-wg0.key b/ansible/plays/files/malabaricus/etc/wireguard/public-wg0.key new file mode 100644 index 0000000..6fe02dc --- /dev/null +++ b/ansible/plays/files/malabaricus/etc/wireguard/public-wg0.key @@ -0,0 +1 @@ +spjhTSR22/RyPy7D2AnMLLzzHuasXD6W4J5Xwuo+UTQ= diff --git a/ansible/plays/files/webgateway/etc/wireguard/public-wg-hesland.key b/ansible/plays/files/webgateway/etc/wireguard/public-wg-hesland.key new file mode 100644 index 0000000..e9aa962 --- /dev/null +++ b/ansible/plays/files/webgateway/etc/wireguard/public-wg-hesland.key @@ -0,0 +1 @@ +BSuop+m0ca2zrJ+gZgawFP22tM/MJ2YXIol2kr8ETT4= diff --git a/ansible/plays/wireguard.yml b/ansible/plays/wireguard.yml new file mode 100644 index 0000000..26ee9ff --- /dev/null +++ b/ansible/plays/wireguard.yml @@ -0,0 +1,44 @@ +- hosts: + - wireguard_wg_net1 + tags: + - never + - wg-net1 + roles: + - role: wireguard + wireguard__state: absent + wireguard__name: wireguard_wg_net1 + +- hosts: + - wireguard_wg0 + tags: wg0 + roles: + - role: wireguard + wireguard__name: wireguard-wg0 + vars: + wg_net: "{{ hostvars[ansible_hostname][wireguard__name] }}" + wg_host: "{{ wg_net.hosts[ansible_hostname] }}" + +- hosts: + - wireguard_wg1 + tags: wg1 + roles: + - role: wireguard + wireguard__name: wireguard-wg1 + +- hosts: + - wireguard_hesland + tags: wg_hesland + roles: + - role: wireguard + wireguard__name: wireguard_wg_hesland + wireguard__state: absent + +- hosts: + - wireguard_edipost + tags: wg_edipost + roles: + - role: wireguard + wireguard__name: wireguard_wg_edipost + wireguard__state: absent + vars: + wg_net: "{{ hostvars[ansible_hostname][wireguard__name] }}" |