dns/entries: Block uploading dns entries in check mode

Must explicit block because otherwise Ansible tries to lookup the local
file, which may not be created in check mode
dehydrated
Felix Stupp 4 years ago
parent 1dddc0cc03
commit bd4d97d835
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -29,6 +29,6 @@
cmd: nsupdate -l # local mode
stdin: "{{ lookup('file', local_file) }}\n"
delegate_to: "{{ dns_system_domain }}"
when: entries_changes_file.changed
when: entries_changes_file.changed and not ansible_check_mode
tags:
- dns_entries

Loading…
Cancel
Save