From b4a12dbbf4a4759bf24975ca9bfc5096c90ae8b6 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sun, 19 May 2024 17:02:45 +0100 Subject: Wireguard overlay network setup Need to migrate away from networkd, because it can't add new wireguard peers now out of the box without hacks. [1]: https://github.com/systemd/systemd/issues/25547 --- host_vars/gate2.ilvokhin.com/secrets.yml | 9 +++++++++ host_vars/gate2.ilvokhin.com/wireguard.yml | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 host_vars/gate2.ilvokhin.com/secrets.yml create mode 100644 host_vars/gate2.ilvokhin.com/wireguard.yml (limited to 'host_vars/gate2.ilvokhin.com') diff --git a/host_vars/gate2.ilvokhin.com/secrets.yml b/host_vars/gate2.ilvokhin.com/secrets.yml new file mode 100644 index 0000000..c0efb29 --- /dev/null +++ b/host_vars/gate2.ilvokhin.com/secrets.yml @@ -0,0 +1,9 @@ +$ANSIBLE_VAULT;1.1;AES256 +32303163313431383761636563313936326637363265396637333664306535336136316138623465 +3837613738346235373166386461353563326264356333360a666530316133613434303831343537 +38656136313130663535636531396131613435656134666537653335663632343466663630376332 +3336393838633166330a323234666136333737633434613036366434646666303033303031613266 +31343933313134383366663639333331323366343139353861376362653030333236633733343462 +38316232366432646463376332326239376662623866363238303464343864313937363230356661 +36613035633736663435373563313832383435336535633930643261333930623032333264343437 +65613663376364313063 diff --git a/host_vars/gate2.ilvokhin.com/wireguard.yml b/host_vars/gate2.ilvokhin.com/wireguard.yml new file mode 100644 index 0000000..8ff01a9 --- /dev/null +++ b/host_vars/gate2.ilvokhin.com/wireguard.yml @@ -0,0 +1,8 @@ +wireguard_public_key: v+ChgF+9IMFK5aN/ngthtZ38Jp7Rr1WVeS2mhQnQ4UE= +wgnet_ip: 10.0.0.1 + +# Reserved for flame. +# wgnet_ip: 10.0.0.2 + +# Reserved for water. +# wgnet_ip: 10.0.0.3 -- cgit v1.2.3-70-g09d2