fix base PPA cleanup, marker file post-run, and bind snmpd validation

- base: drop leftover apt_repository removal + equivalents debug (undefined on Ubuntu resolute), clean ansible.list via file module for all debian-based distros
- local.yml: default ansible_pull_marker_file in post-run so a cooldown end_play does not abort the run
- nameserver: validate named config against main named.conf instead of isolated %s; add named_conf to debian/archlinux vars
This commit is contained in:
rene committed 2026-10-22 15:58:01 +02:00
1 parent b5b1d926be
commit 598506f58d
5 files changed
+6 -20

No files matched your search

@@ -32,7 +32,7 @@
state: present
line: '\tstatistics-file "/var/cache/bind/stats";\n\tzone-statistics yes;'
insertafter: "options {"
validate: "{{ named_checkconf }} %s"
validate: "{{ named_checkconf }} {{ named_conf }}"
notify: restart_named
- name: nameserver | snmpd | configure extend
+1
View File
@@ -9,6 +9,7 @@ powerdns_backends:
- package: powerdns
# named / bind specific
named_conf: /etc/named.conf
named_conf_zones: /etc/named.conf
named_conf_options: /etc/named.conf
named_conf_local: /etc/named.conf
+1
View File
@@ -13,6 +13,7 @@ pdns_mysql_schema: "/usr/share/pdns-backend-mysql/schema/schema.mysql.sql"
pdns_mysql_socket: "/run/mysqld/mysqld.sock"
# named / bind specific
named_conf: /etc/bind/named.conf
named_conf_zones: /etc/bind/named.conf.default-zones
named_conf_options: /etc/bind/named.conf.options
named_conf_local: /etc/bind/named.conf.local