Remove DNS journal files
This commit is contained in:
parent
270bfc58a4
commit
dd25fd30fc
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue