Manage DNS servers using Ansible #93

Open
jeltz wants to merge 45 commits from dns into master
Showing only changes of commit 6f32c9bc2c - Show all commits

View file

@ -104,10 +104,7 @@ template:
- id: default
storage: "{{ knotd__zones_dir }}"
file: "%s.zone"
semantic-checks: {{ knotd__semantic_checks
| ternary("on", "off") }}
zonefile-sync: -1
zonefile-load: difference-no-serial
journal-content: changes
journal-content: all
serial-policy: {{ knotd__serial_policy }}
@ -128,6 +125,11 @@ zone:
{% endif %}
{% if zone.master is defined %}
master: {{ zone.master }}
zonefile-load: none
{% else %}
zonefile-load: difference-no-serial
semantic-checks: {{ knotd__semantic_checks
| ternary("on", "off") }}
{% endif %}
{% if zone.dnssec_policy is defined %}
dnssec-policy: {{ zone.dnssec_policy }}