You've already forked ansible-role-bind9
Compare commits
1 Commits
2d8ff325a4
...
460f6c1dae
Author | SHA1 | Date | |
---|---|---|---|
460f6c1dae
|
@ -10,4 +10,4 @@
|
|||||||
- name: "Fail when the last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}"
|
- name: "Fail when the last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}"
|
||||||
ansible.builtin.fail:
|
ansible.builtin.fail:
|
||||||
msg: "Last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}"
|
msg: "Last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}"
|
||||||
when: _bind9_zone_last_character.stdout != ''
|
failed_when: _bind9_zone_last_character.stdout | regex_search('.+') | default(false)
|
||||||
|
Reference in New Issue
Block a user