From e2aafd7231970c7c62c86ab46ba15e2556d82128 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 13 Jun 2023 23:22:33 +0200 Subject: [PATCH] add thecloud.dmz host add cloud.kun.is --- ansible/hermes.yml | 6 +++--- ansible/requirements.yml | 2 +- ansible/roles/dnsmasq/files/dnsmasq.conf | 2 +- ansible/roles/nsd/files/zones/kun.is | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ansible/hermes.yml b/ansible/hermes.yml index 90e7e58..baccc0f 100644 --- a/ansible/hermes.yml +++ b/ansible/hermes.yml @@ -12,6 +12,6 @@ src: resolv.conf dest: /etc/resolv.conf roles: - - {role: 'setup-apt', tags: 'setup-apt'} - - {role: 'dnsmasq', tags: 'dnsmasq'} - - {role: 'nsd', tags: 'nsd'} + - {role: apt, tags: apt} + - {role: dnsmasq, tags: dnsmasq} + - {role: nsd, tags: nsd} diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 659b0cf..1e51c6b 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -1,4 +1,4 @@ -- name: setup-apt +- name: apt src: https://github.com/sunscrapers/ansible-role-apt.git scm: git - name: cloudinit-wait diff --git a/ansible/roles/dnsmasq/files/dnsmasq.conf b/ansible/roles/dnsmasq/files/dnsmasq.conf index e400d3b..639b5f8 100644 --- a/ansible/roles/dnsmasq/files/dnsmasq.conf +++ b/ansible/roles/dnsmasq/files/dnsmasq.conf @@ -20,7 +20,7 @@ dhcp-host=b8:27:eb:b9:ab:e2,esrom dhcp-host=ca:fe:c0:ff:ee:03,max,192.168.30.3 dhcp-host=ca:fe:c0:ff:ee:08,maestro,192.168.30.8 dhcp-host=dc:a6:32:7b:e2:11,iris,192.168.30.9 -dhcp-host=ca:fe:c0:ff:ee:0b,lewis,192.168.30.10 +dhcp-host=ca:fe:c0:ff:ee:0a,thecloud,192.168.30.10 # Advertise router dhcp-option=3,192.168.30.1 # Always send the IPv6 DNS server address (this machine) diff --git a/ansible/roles/nsd/files/zones/kun.is b/ansible/roles/nsd/files/zones/kun.is index 4758d90..2a7fbef 100644 --- a/ansible/roles/nsd/files/zones/kun.is +++ b/ansible/roles/nsd/files/zones/kun.is @@ -8,3 +8,4 @@ kun.is. IN SOA ns1.kun.is. pim.kunis.nl. 2023051702 1800 3600 1209600 3600 ns1 A 84.245.14.149 ns2 A 84.245.14.149 hoi TXT "beter dan kunis.nl!" +cloud A 84.245.14.149