From 16238de23f072c81a7c43e6a48be9d5555b641e3 Mon Sep 17 00:00:00 2001 From: Vic Cross Date: Tue, 20 Aug 2024 18:15:17 +1000 Subject: [PATCH] Fixes #189 - enable named-chroot --- .../roles/setup-firstboot-ipconf/templates/ipconf.sh.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/local-playbooks/roles/setup-firstboot-ipconf/templates/ipconf.sh.j2 b/local-playbooks/roles/setup-firstboot-ipconf/templates/ipconf.sh.j2 index dc89a8c..79e8c2b 100644 --- a/local-playbooks/roles/setup-firstboot-ipconf/templates/ipconf.sh.j2 +++ b/local-playbooks/roles/setup-firstboot-ipconf/templates/ipconf.sh.j2 @@ -137,8 +137,9 @@ EOF # sed -i.bak '/bastion_public_ip_address/c \bastion_public_ip_address: '\"${IPADDR}\" /opt/ansible/inventory/group_vars/all.yml # Run Ansible playbook to update the BIND configuration (cd /opt/ansible && ansible-playbook -i inventory update-dns-domain.yml) - # start named + # start and enable named systemctl start named-chroot.service + systemctl enable named-chroot.service # Regenerate all the certificates (cd /opt/ansible && ansible-playbook -i inventory regen-certificates.yml)