Remove DNS journal files

This commit is contained in:
chapeau 2024-09-08 11:29:34 +02:00
parent 270bfc58a4
commit dd25fd30fc

View file

@ -81,6 +81,13 @@
loop: "{{ zones|default(zone_list) }}"
notify: Restart bind9
- name: Remove journal zone files
file:
path: "/etc/bind/master/{{ item.name }}.db.jnl"
state: absent
loop: "{{ zones|default(zone_list) }}"
notify: Restart bind9
# - name: Create reverse zone files
- name: Check configuration integrity