rewrite most of this role to allow multiple backends
This commit is contained in:
parent
144736d652
commit
ca078de05c
7 changed files with 93 additions and 574 deletions
23
defaults/main.yml
Normal file
23
defaults/main.yml
Normal 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: {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue