rewrite most of this role to allow multiple backends

This commit is contained in:
nd 2019-09-22 19:04:37 +02:00
parent 144736d652
commit ca078de05c
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
7 changed files with 93 additions and 574 deletions

23
defaults/main.yml Normal file
View file

@ -0,0 +1,23 @@
powerdns:
config:
"allow-axfr-ips":
- ::1
- 127.0.0.0/8
"bind-config": /etc/powerdns/backends/bind.conf
"config-dir": /etc/powerdns
"daemon": "yes"
"default-ttl": 3600
"guardian": "yes"
"include-dir": "/etc/powerdns/pdns.d"
"launch":
- bind
"master": no
"reuseport": "yes"
"setgid": pdns
"setuid": pdns
"slave": no
"soa-minimum-ttl": 300
"tcp-control-secret": "{{ lookup('password', '/dev/null length=64') }}"
"version-string": "1"
zonemeta: {}
zones: {}