From 8fea7006f4c9f83088648c5711e26bea7c23a1a1 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 2 Aug 2020 15:47:24 +0200 Subject: wireguard: Cleanup, adding android-trygvis. --- .../android-trygvis/etc/wireguard/public-wg0.key | 1 + .../android-trygvis/etc/wireguard/public-wg1.key | 1 - ansible/plays/wireguard.yml | 37 ---------------------- 3 files changed, 1 insertion(+), 38 deletions(-) create mode 100644 ansible/plays/files/android-trygvis/etc/wireguard/public-wg0.key delete mode 100644 ansible/plays/files/android-trygvis/etc/wireguard/public-wg1.key delete mode 100644 ansible/plays/wireguard.yml (limited to 'ansible/plays') diff --git a/ansible/plays/files/android-trygvis/etc/wireguard/public-wg0.key b/ansible/plays/files/android-trygvis/etc/wireguard/public-wg0.key new file mode 100644 index 0000000..4ab6833 --- /dev/null +++ b/ansible/plays/files/android-trygvis/etc/wireguard/public-wg0.key @@ -0,0 +1 @@ +9SgKebI72gmwuglEQfSOp3CKrYprUXam6+9BbEPnEkU= diff --git a/ansible/plays/files/android-trygvis/etc/wireguard/public-wg1.key b/ansible/plays/files/android-trygvis/etc/wireguard/public-wg1.key deleted file mode 100644 index 4ab6833..0000000 --- a/ansible/plays/files/android-trygvis/etc/wireguard/public-wg1.key +++ /dev/null @@ -1 +0,0 @@ -9SgKebI72gmwuglEQfSOp3CKrYprUXam6+9BbEPnEkU= diff --git a/ansible/plays/wireguard.yml b/ansible/plays/wireguard.yml deleted file mode 100644 index 87ae59b..0000000 --- a/ansible/plays/wireguard.yml +++ /dev/null @@ -1,37 +0,0 @@ -- hosts: - - wireguard_wg_net1 - tags: - - never - - wg-net1 - roles: - - role: wireguard - wireguard__state: absent - wireguard__name: wireguard_wg_net1 - -- import_playbook: wireguard-wg0.yml - tags: wg0 - -- 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] }}" -- cgit v1.2.3