summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-17 22:34:36 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-17 22:34:36 +0100
commitb0a39886bd13b4b313a6988bbd78fbca7a5d187f (patch)
tree155b2fb6d3b53ac020fd5da5a08aa80ac9af5045
parentaea89a9f4dc3548d0295b0fd513c5c9b08207ffa (diff)
moved host_vars to own file
-rw-r--r--.gitignore2
-rw-r--r--host_vars/fastd9
-rw-r--r--inventory.ini.sample4
3 files changed, 13 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 27a9230..c17c2a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
inventory.ini
+host_vars/*
*.swp
+*.retry
diff --git a/host_vars/fastd b/host_vars/fastd
new file mode 100644
index 0000000..7a10e7c
--- /dev/null
+++ b/host_vars/fastd
@@ -0,0 +1,9 @@
+---
+ansible_host: 123.123.123.123
+fastd_peer_limit: 200
+fastd_secret: <fastd secret key>
+fastd_mesh_mac: '<mesh mac>
+bat0_ipv6: '<ipv6>'
+bat0_ipv4: <ipv4>
+dhcp_start: <ipv4>
+dhcp_end: <ipv4>
diff --git a/inventory.ini.sample b/inventory.ini.sample
index 54dc92e..2ab14ce 100644
--- a/inventory.ini.sample
+++ b/inventory.ini.sample
@@ -1,8 +1,8 @@
[new_fastds]
-123.123.123.123 arch_hostname=fastd1
+123.123.123.123 arch_hostname=fastd
[fastds]
-123.123.123.123
+fastd
[all:vars]
hetzner_webservice_username=<hetzner_webservice_username>