summaryrefslogtreecommitdiff
path: root/inventory/host_vars
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-10-14 21:16:13 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-10-14 21:16:13 +0200
commit767290df20fc88fd6d14d778e81a71ab01163529 (patch)
tree4c351cb80eab3f0368aafbf4d063936a9fb4013c /inventory/host_vars
parentmimas: remove stale secondary DNS zones (diff)
rename mimas to mimas-legacy and re-install ch-mimas2 as ch-mimas
Diffstat (limited to 'inventory/host_vars')
-rw-r--r--inventory/host_vars/ch-mimas-legacy.yml32
-rw-r--r--inventory/host_vars/ch-mimas.yml88
-rw-r--r--inventory/host_vars/ch-mimas2.yml65
3 files changed, 92 insertions, 93 deletions
diff --git a/inventory/host_vars/ch-mimas-legacy.yml b/inventory/host_vars/ch-mimas-legacy.yml
new file mode 100644
index 00000000..a15ebb43
--- /dev/null
+++ b/inventory/host_vars/ch-mimas-legacy.yml
@@ -0,0 +1,32 @@
+---
+install:
+ vm:
+ memory: 2G
+ numcpus: 4
+ autostart: True
+ disks:
+ primary: /dev/vda
+ virtio:
+ vda:
+ type: zfs
+ name: root
+ size: 62g
+ interfaces:
+ - bridge: br-public
+ name: eth0
+
+network:
+ nameservers: "{{ vm_host.network.dns }}"
+ domain: "{{ host_domain }}"
+ systemd_link:
+ interfaces: "{{ install.interfaces }}"
+ primary: &_network_primary_
+ name: eth0
+ address: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) }}"
+ gateway: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[vm_host.name]) | ansible.utils.ipaddr('address') }}"
+ template: overlay
+ overlay: "{{ (vm_host.network.bridges.public.overlays.default.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.overlays.default.offsets[inventory_hostname])).split('/')[0] }}"
+ interfaces:
+ - *_network_primary_
+
+external_ip: "{{ network.primary.overlay }}"
diff --git a/inventory/host_vars/ch-mimas.yml b/inventory/host_vars/ch-mimas.yml
index a15ebb43..ed292956 100644
--- a/inventory/host_vars/ch-mimas.yml
+++ b/inventory/host_vars/ch-mimas.yml
@@ -1,32 +1,64 @@
---
install:
- vm:
- memory: 2G
- numcpus: 4
- autostart: True
- disks:
- primary: /dev/vda
- virtio:
- vda:
- type: zfs
- name: root
- size: 62g
- interfaces:
- - bridge: br-public
- name: eth0
+ cloud:
+ credentials:
+ token: "{{ vault_hcloud_api_token }}"
+ server_name: "{{ host_name }}"
-network:
- nameservers: "{{ vm_host.network.dns }}"
- domain: "{{ host_domain }}"
- systemd_link:
- interfaces: "{{ install.interfaces }}"
- primary: &_network_primary_
- name: eth0
- address: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) }}"
- gateway: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[vm_host.name]) | ansible.utils.ipaddr('address') }}"
- template: overlay
- overlay: "{{ (vm_host.network.bridges.public.overlays.default.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.overlays.default.offsets[inventory_hostname])).split('/')[0] }}"
- interfaces:
- - *_network_primary_
-external_ip: "{{ network.primary.overlay }}"
+apt_repo_provider: hetzner
+
+
+bind_option_empty_zones_enable: no
+bind_option_allow_transfer: []
+bind_option_allow_recursion:
+ - localhost
+bind_option_notify: 'no'
+
+bind_empty_onion_zone: yes
+bind_slave_zones:
+ pan:
+ masters:
+ - 89.106.215.17
+ - 2a02:3e0:407::17
+ zones:
+ ## formerly known as self
+ - chaos-at-home.org
+ - chaox.org
+ - spreadspace.org
+ - spreadspace.com
+ - spreadspace.net
+ - spreadspace.systems
+ - elev8.at
+ - java-sucks.com
+ - xn--gh-via.org
+ - schaaas.at
+ ## formerly known as others
+ - gimpf.org
+ - movetogether.at
+ ## formerly known as otti
+ #- anytun.org
+ #- gsenger.com
+ #- wirdorange.org
+ #- xn--3-0fa.at
+ - 5.208.106.89.in-addr.arpa
+ - 5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.e.3.0.2.0.a.2.ip6.arpa
+
+ realraum:
+ masters:
+ - 89.106.211.33
+ - 2a02:3e0:4000:1::1
+ zones:
+ - realraum.at
+ - r3.at
+ - hack-challenge.at
+
+ funkfeuer:
+ masters:
+ - 193.33.150.114
+ zones:
+ - ffgraz.net
+ - graz.funkfeuer.at
+ - 10.in-addr.arpa
+ - 150.33.193.in-addr.arpa
+ - 151.33.193.in-addr.arpa
diff --git a/inventory/host_vars/ch-mimas2.yml b/inventory/host_vars/ch-mimas2.yml
deleted file mode 100644
index 3c31e172..00000000
--- a/inventory/host_vars/ch-mimas2.yml
+++ /dev/null
@@ -1,65 +0,0 @@
----
-install:
- cloud:
- credentials:
- token: "{{ vault_hcloud_api_token }}"
- server_name: "{{ host_name }}"
-
-
-acmetool_directory_server: "{{ acmetool_directory_server_le_live_v2 }}"
-
-bind_option_empty_zones_enable: no
-bind_option_allow_transfer: []
-bind_option_allow_recursion:
- - localhost
-bind_option_notify: 'no'
-
-bind_empty_onion_zone: yes
-bind_slave_zones:
- pan:
- masters:
- - 89.106.215.17
- - 2a02:3e0:407::17
- zones:
- ## formerly known as self
- - chaos-at-home.org
- - chaox.org
- - spreadspace.org
- - spreadspace.com
- - spreadspace.net
- - spreadspace.systems
- - elev8.at
- - java-sucks.com
- - xn--gh-via.org
- - schaaas.at
- ## formerly known as others
- - gimpf.org
- - movetogether.at
- ## formerly known as otti
- #- anytun.org
- #- gsenger.com
- #- wirdorange.org
- #- xn--3-0fa.at
- - 5.208.106.89.in-addr.arpa
- - 5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.e.3.0.2.0.a.2.ip6.arpa
-
- realraum:
- masters:
- - 89.106.211.33
- - 2a02:3e0:4000:1::1
- zones:
- - realraum.at
- - r3.at
- - hack-challenge.at
-
- funkfeuer:
- masters:
- - 193.33.150.114
- zones:
- - ffgraz.net
- - graz.funkfeuer.at
- - 10.in-addr.arpa
- - 150.33.193.in-addr.arpa
- - 151.33.193.in-addr.arpa
-
-apt_repo_provider: default