Files
ansible-pull/roles/nameserver/templates/powerdns-server-sec-config.j2
T
rene 31a6a3e3d7 facts: migrate bare ansible_* facts to ansible_facts[]
ansible-core deprecates injecting top-level facts as variables
(INJECT_FACTS_AS_VARS) and will stop doing so in 2.24. Convert all
remaining bare fact references (ansible_default_ipv4/ipv6, os_family,
distribution_release, date_time, ...) to the ansible_facts[] form.

Also fixes a typo (ansbile_date_time) in the postfix backup task.
2026-10-22 18:22:34 +02:00

4 lines
287 B
Django/Jinja
Executable File

include-dir=/etc/powerdns/pdns.d
launch=
local-address={{ ansible_facts['default_ipv4']['address'] }}, [{{ ansible_facts['default_ipv6']['address'] }}], 127.0.0.1:553{% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}:553{% endif %}
security-poll-suffix=