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

This commit is contained in:
2025-09-18 18:32:37 +02:00
parent 20b27e1e6b
commit 49623f7f52

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 }}"
when: _bind9_zone_last_character.stdout | regex_search('.+')
when: _bind9_zone_last_character.stdout != ''