This commit is contained in:
2024-07-25 12:04:20 +02:00
parent 888aa7f071
commit 35b78971eb
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
api = Yes
api-key ={{ pdns_api_key | default(lookup('password', '/etc/powerdns/pdns.d/.api-key' length=20)) }}
api-key ={{ pdns_api_key | default(lookup('password', '/etc/powerdns/pdns.d/.api-key length=20')) }}
webserver = Yes
webserver-address = {% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }}{% else %}{{ ansible_default_ipv4.address }}{% endif %}