From f429d978e45f6592bfc43170679c625957592f29 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 14 Dec 2023 14:23:50 +0100 Subject: biwia --- ansible/group_vars/all/users.yml | 1 + ansible/inventory | 10 ++++++---- ansible/plays/ping.yml | 3 +++ ansible/wg0/files/biwia/etc/wireguard/public-wg0.key | 1 + ansible/wg0/group_vars/all/wireguard_wg0.yml | 3 +++ 5 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 ansible/plays/ping.yml create mode 100644 ansible/wg0/files/biwia/etc/wireguard/public-wg0.key diff --git a/ansible/group_vars/all/users.yml b/ansible/group_vars/all/users.yml index c1617e9..ce9bfa2 100644 --- a/ansible/group_vars/all/users.yml +++ b/ansible/group_vars/all/users.yml @@ -7,6 +7,7 @@ users: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE/Xrsk69KhaXdHPcbBoCbqlQ2DXmx77OnkLAk22ui5m trygvis@malabaricus ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEkisPUAai4P3Scj1gWdV2TcDr54tb20BDy0NAkGOZnF trygvis@akili-v2 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL3UZyrbXX7WMHqcZCRspkoSIfB6egrbOxXPf1zyZkAw trygvis@arius-v4 + ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK3NIIYprtLQFNut7GGf0va7YYFeSXKSgWDQi4qbf5Ph trygvis@biwia authorized_keys_absent: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGpWssvnarp8O/oN86VDlLxUHAYHSKbdhXpe1s0hWkX5 trygvis@fuckaduck diff --git a/ansible/inventory b/ansible/inventory index 7d2f49e..17f3ec7 100644 --- a/ansible/inventory +++ b/ansible/inventory @@ -38,7 +38,8 @@ all: sweetzpot-mobile: ansible_host: 192.168.10.123 sweetzpot-macos: - ansible_host: 0.0.0.0 + biwia: + ansible_host: biwia.vpn.trygvis.io lhn2pi: lhn2ix: kv24ix: @@ -143,15 +144,16 @@ all: astyanax: babypi: birgitte: + biwia: conflatorio: hash: knot: + kv24ix: + lhn2ix: + lhn2pi: malabaricus: sweetzpot-macos: sweetzpot-mobile: - lhn2pi: - lhn2ix: - kv24ix: bgp: hosts: diff --git a/ansible/plays/ping.yml b/ansible/plays/ping.yml new file mode 100644 index 0000000..29b2363 --- /dev/null +++ b/ansible/plays/ping.yml @@ -0,0 +1,3 @@ +- hosts: all + tasks: + - debug: msg=hello diff --git a/ansible/wg0/files/biwia/etc/wireguard/public-wg0.key b/ansible/wg0/files/biwia/etc/wireguard/public-wg0.key new file mode 100644 index 0000000..56839fc --- /dev/null +++ b/ansible/wg0/files/biwia/etc/wireguard/public-wg0.key @@ -0,0 +1 @@ ++IwE2mGOb9d/nMPhPb5ejkLJhsVknFSmX2nmEI0Xpzw= diff --git a/ansible/wg0/group_vars/all/wireguard_wg0.yml b/ansible/wg0/group_vars/all/wireguard_wg0.yml index 931b0ae..3a8099c 100644 --- a/ansible/wg0/group_vars/all/wireguard_wg0.yml +++ b/ansible/wg0/group_vars/all/wireguard_wg0.yml @@ -63,3 +63,6 @@ wireguard_wg0: ipv6: fdf3:aad9:a885:0b3a::16 allowed_ips: - fdf3:aad9:a885:b22d::/64 + biwia: + state: present + ipv6: fdf3:aad9:a885:0b3a::17 -- cgit v1.2.3