fix bind snmpd validation, wireguard conditional, and step-ca import ordering

- nameserver: add named-checkconf wrapper that validates the edited fragment in
  the context of the full named.conf (lineinfile validate needs %s; isolated
  check fails on include-based configs) and surfaces BIND diagnostics on stderr
- base: make wireguard 'when' boolean-correct (ipaddr('public') returns a string)
- base/nameserver: skip step-ca import in base on nameservers (resolv.conf not
  yet 127.0.0.1) and import it in the nameserver play after DNS setup
This commit is contained in:
rene committed 2026-10-22 16:21:49 +02:00
1 parent 598506f58d
commit d0fe8afddc
4 files changed
+58 -2

No files matched your search

+2 -1
View File
@@ -18,7 +18,7 @@
when:
- wireguard is defined
- wireguard == true
- ansible_default_ipv4.address | ansible.utils.ipaddr('public')
- ansible_default_ipv4.address | ansible.utils.ipaddr('public') | length > 0
ignore_errors: True
- import_tasks: system_setup/git.yml
# install software
@@ -44,6 +44,7 @@
- import_tasks: system_setup/disable_standby.yml
when: is_proxmox is defined and is_proxmox == true
- import_tasks: system_setup/import_stepca.yml
when: "'nameserver' not in group_names"
rescue: