Skip to content

Commit

Permalink
Use temporary file.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed Jul 12, 2023
1 parent f7104a4 commit ee5dcb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
ansible.builtin.template:
src: zone.j2
dest: "{{ dns_datadir }}/{{ item.name }}.db"
validate: named-checkzone {{ item.name }} {{ dns_datadir }}/{{ item.name }}.db
validate: named-checkzone {{ item.name }} %s
mode: "0640"
owner: "{{ dns_owner }}"
group: "{{ dns_group }}"
Expand Down

0 comments on commit ee5dcb3

Please sign in to comment.