2 Commits

Author SHA1 Message Date
49623f7f52 fix(tasks): conditional result was 'None' of type 'NoneType'
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 15s
Lint Markdown files / markdown-lint (push) Successful in 3s
2025-09-18 18:32:37 +02:00
20b27e1e6b fix(tasks): conditional result was 'None' of type 'NoneType'
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 19s
Lint Markdown files / markdown-lint (push) Successful in 6s
2025-09-18 18:25:14 +02:00

View File

@ -10,4 +10,4 @@
- name: "Fail when the last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}"
ansible.builtin.fail:
msg: "Last character of DNS zone file is not a newline: {{ bind_config_directory + '/' + zone.file }}"
failed_when: _bind9_zone_last_character.stdout | regex_search('.+') | default(false)
when: _bind9_zone_last_character.stdout != ''