rene
52f2ac45e5
nameserver: fix bind statistics options (literal escapes broke named-checkconf)
...
The lineinfile 'line' used YAML single quotes, so '\t' and '\n' were written
literally, producing 'unknown option' errors from named-checkconf. Replace with
a blockinfile block, remove the legacy literal-escape lines on next run, and
keep validation via the named-checkconf wrapper.
2026-10-22 16:48:12 +02:00
rene
d0fe8afddc
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
2026-10-22 16:21:49 +02:00
rene
598506f58d
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
2026-10-22 15:58:01 +02:00
rene
450841e15c
removed some systems from backup
2026-10-14 19:38:52 +02:00
rene
9fd07d57a4
switched to new facts-syntax
2026-01-12 12:31:24 +01:00
René Mewißen
e1301cee49
powerdns recursor is installed in another task
2025-12-11 13:01:02 +01:00
René Mewißen
c450d869ab
ensure the correct pdns config for secondaries
2025-12-11 12:30:26 +01:00
rene
ab9f681c0d
added tools for powerdns
2025-12-11 09:31:21 +01:00
rene
f5c0a32ffa
PowerDNS secondary
2025-02-22 17:27:57 +01:00
rene
b668d71b86
prepare dns secondaries
2024-10-03 23:02:04 +02:00
rene
e3edcf02f9
syntax
2024-07-26 11:53:21 +02:00
rene
ffc44a6b12
add users for secondaries
2024-07-26 11:43:46 +02:00
rene
6170be413d
loop over templates
2024-07-25 14:52:37 +02:00
rene
93b074476f
task rewritten
2024-07-25 14:26:58 +02:00
rene
35b78971eb
syntax
2024-07-25 12:04:20 +02:00
rene
888aa7f071
moved notify
2024-07-25 11:42:05 +02:00
rene
86f9716950
use handler to restart powerdns
2024-07-25 11:11:49 +02:00
rene
5d5c4bc91a
import data only if database did not exist before; generate password, if not set in vars
2024-07-25 11:08:14 +02:00
rene
6d53468947
do not overwrite with template, if file already exists
2024-07-25 11:07:26 +02:00
rene
df99ddea83
need to use socket for mysql
2024-07-24 13:30:29 +02:00
rene
032bcc7c0f
my.cnf needed
2024-07-24 12:14:32 +02:00
rene
ac4272612b
Python's MySQL client needed
2024-07-24 12:03:05 +02:00
rene
a7e39f9305
syntax
2024-07-24 11:46:23 +02:00
rene
9477fbccb6
moved vars
2024-07-24 10:24:50 +02:00
rene
ccf689b513
syntax
2024-07-24 08:42:39 +02:00
rene
5df0bc5a42
syntax
2024-07-23 19:59:29 +02:00
rene
ad4f47d925
added installation for powerdns primary server
2024-07-23 19:48:32 +02:00
rene
7af871d7c7
syntax
2024-07-22 18:33:10 +02:00
rene
8be0840799
used correct service name
2024-07-22 18:15:31 +02:00
rene
766bfec3f6
validation not possible yet
2024-07-22 17:52:48 +02:00
rene
2b0c58291c
type and new destination
2024-07-22 17:23:56 +02:00
rene
cedbeaf5ef
reordered tasks
2024-07-22 17:16:52 +02:00
rene
e368d64197
use separated named config files
2024-07-22 17:15:37 +02:00
rene
a681febfed
gave each task a name
2024-07-22 17:04:21 +02:00
rene
eb64bb5296
reordered block
2024-07-22 16:56:00 +02:00
rene
a8b67bf4ad
added names to blocks
2024-07-22 16:47:54 +02:00
rene
863b7ec9dc
corrected vars
2024-07-22 16:24:10 +02:00
rene
4cfaf05b96
typo
2024-07-22 15:54:59 +02:00
rene
bff17f9de4
make sure variables are defined before parsing value
2024-07-22 15:51:13 +02:00
rene
0dc1871268
added DNS resolver option powerdns-recursor
2024-07-22 14:51:30 +02:00
rene
598cb3fa48
prepare powerdns
2024-01-05 13:52:43 +01:00
rene
ff2a52b1d8
beruecksichtige zeichengroesse
2023-01-23 16:15:01 +01:00
rene
8eecab369b
quoting
2022-04-21 23:54:17 +02:00
rene
087e0a5b1e
start unbound after installation
2022-04-21 23:50:03 +02:00
rene
608c3c0a2f
use correct option
2022-04-21 23:37:20 +02:00
rene
f3585baa77
corrected verify command
2022-04-21 23:22:00 +02:00
rene
a732c80f52
reordered roles
2022-04-21 23:08:17 +02:00
rene
f85af1cec4
changed path for stats file
2022-04-21 22:50:19 +02:00
rene
df65769d48
remoted rescue
2022-04-21 22:22:43 +02:00
rene
78ab48812c
rearranged tasks
2022-04-21 20:23:01 +02:00