aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2023-12-14 14:23:50 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2023-12-14 14:23:50 +0100
commitf429d978e45f6592bfc43170679c625957592f29 (patch)
tree1ed8b016061af84891fc2d904b1adb1b13fd0af3 /ansible
parentfe893bf39fe3984dfb07ae965956bb276229b3ab (diff)
downloadinfra-f429d978e45f6592bfc43170679c625957592f29.tar.gz
infra-f429d978e45f6592bfc43170679c625957592f29.tar.bz2
infra-f429d978e45f6592bfc43170679c625957592f29.tar.xz
infra-f429d978e45f6592bfc43170679c625957592f29.zip
biwia
Diffstat (limited to 'ansible')
-rw-r--r--ansible/group_vars/all/users.yml1
-rw-r--r--ansible/inventory10
-rw-r--r--ansible/plays/ping.yml3
-rw-r--r--ansible/wg0/files/biwia/etc/wireguard/public-wg0.key1
-rw-r--r--ansible/wg0/group_vars/all/wireguard_wg0.yml3
5 files changed, 14 insertions, 4 deletions
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