From 7ac10f0e7d9148fec801b88c2e594511b2388c35 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Fri, 30 Jul 2021 23:05:53 +0200 Subject: [PATCH] new host: aeron --- group_vars/auweg | 11 +++++++++++ hosts | 1 + .../templates/bind/23.172.in-addr.arpa.zone.j2 | 5 +++-- .../dns_intern/templates/bind/binary.kitchen.zone.j2 | 3 ++- site.yml | 2 +- 5 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 group_vars/auweg diff --git a/group_vars/auweg b/group_vars/auweg new file mode 100644 index 0000000..5551c92 --- /dev/null +++ b/group_vars/auweg @@ -0,0 +1,11 @@ +--- + +dhcpd_failover: false + +name_servers: +- 172.23.13.3 + +ntp_servers: +- 172.23.12.61 + +radius_cn: radius.binary.kitchen diff --git a/hosts b/hosts index f4c9d49..a6fc510 100644 --- a/hosts +++ b/hosts @@ -10,6 +10,7 @@ bob.binary.kitchen ansible_host=172.23.2.37 bowle.binary.kitchen ansible_host=172.23.2.62 salat.binary.kitchen ansible_host=172.23.9.61 [auweg] +aeron.binary.kitchen ansible_host=172.23.13.3 weizen.binary.kitchen ansible_host=172.23.12.61 [fan_rz] helium.binary-kitchen.net diff --git a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 index f5fb6b4..e454576 100644 --- a/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 +++ b/roles/dns_intern/templates/bind/23.172.in-addr.arpa.zone.j2 @@ -1,7 +1,7 @@ $ORIGIN 23.172.in-addr.arpa. ; base for unqualified names $TTL 1h ; default time-to-live @ IN SOA ns1.binary.kitchen. hostmaster.binary.kitchen. ( - 2021073001; serial + 2021073002; serial 1d; refresh 2h; retry 4w; expire @@ -82,7 +82,8 @@ $GENERATE 2-254 $.10 IN PTR vpn-${0,3,d}-10.binary.kitchen. ; Management Auweg 61.12 IN PTR weizen.binary.kitchen. ; Services Auweg -; Clients Auweg +3.12 IN PTR aeron.binary.kitchen. +; Clients Auweg ; Point-to-Point 1.96 IN PTR v400.erx-bk.binary.kitchen. 2.96 IN PTR v400.core.binary.kitchen. diff --git a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 index 8e585ea..1378344 100644 --- a/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 +++ b/roles/dns_intern/templates/bind/binary.kitchen.zone.j2 @@ -1,7 +1,7 @@ $ORIGIN binary.kitchen ; base for unqualified names $TTL 1h ; default time-to-live @ IN SOA ns1.binary.kitchen. hostmaster.binary.kitchen. ( - 2021073001; serial + 2021073002; serial 1d; refresh 2h; retry 4w; expire @@ -99,6 +99,7 @@ salat-bmc IN A 172.23.9.81 ; Management Auweg weizen IN A 172.23.12.61 ; Services Auweg +aeron IN A 172.23.13.3 ; Clients Auweg ; VPN RZ (ER-X) wg0.erx-rz IN A 172.23.10.1 diff --git a/site.yml b/site.yml index fc130dc..20e192a 100644 --- a/site.yml +++ b/site.yml @@ -18,7 +18,7 @@ - pvessl - name: Setup infrastructure server - hosts: [bacon.binary.kitchen, aveta.binary.kitchen] + hosts: [bacon.binary.kitchen, aveta.binary.kitchen, aeron.binary.kitchen] roles: - dns_intern - dhcpd