From 46cafb2f9ae259906affb14767d2f853dadd22be Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Sun, 24 Mar 2024 19:13:09 +0100 Subject: Fixup tinc role - add handler to restart - add variables - add IP addresses --- host_vars/firstroot | 4 +++- host_vars/hetzner | 8 ++++++++ host_vars/netcup | 7 +++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 host_vars/hetzner create mode 100644 host_vars/netcup (limited to 'host_vars') diff --git a/host_vars/firstroot b/host_vars/firstroot index 2c6b7b7..7bec76d 100644 --- a/host_vars/firstroot +++ b/host_vars/firstroot @@ -2,7 +2,9 @@ tinc: configure: true name: firstroot connections: [hetzner] - address: fe80::10/64 + address: + - fe80::10/64 + - 10.2.0.10/24 listen_on: any extra_up: - sysctl -w net.ipv4.conf.${INTERFACE}.forwarding=1 diff --git a/host_vars/hetzner b/host_vars/hetzner new file mode 100644 index 0000000..02b9c22 --- /dev/null +++ b/host_vars/hetzner @@ -0,0 +1,8 @@ +tinc: + configure: true + name: hetzner + connections: [netcup] + address: + - fe80::1/64 + - 10.2.0.1/24 + listen_on: any diff --git a/host_vars/netcup b/host_vars/netcup new file mode 100644 index 0000000..9d49382 --- /dev/null +++ b/host_vars/netcup @@ -0,0 +1,7 @@ +tinc: + configure: true + name: netcup + connections: [hetzner] + address: + - fe80::2/64 + listen_on: any -- cgit v1.2.3