summaryrefslogtreecommitdiff
path: root/host_vars
diff options
context:
space:
mode:
authoruvok cheetah2024-03-24 19:13:09 +0100
committeruvok cheetah2024-03-24 19:13:09 +0100
commit46cafb2f9ae259906affb14767d2f853dadd22be (patch)
treeb16a0b027683ebeaf56b3ead89812f47cd06539d /host_vars
parent52363df735a0d8cd547d396695f75924496cf909 (diff)
Fixup tinc role
- add handler to restart - add variables - add IP addresses
Diffstat (limited to 'host_vars')
-rw-r--r--host_vars/firstroot4
-rw-r--r--host_vars/hetzner8
-rw-r--r--host_vars/netcup7
3 files changed, 18 insertions, 1 deletions
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