fix: rename files to .yaml
Lint Markdown files / markdown-lint (push) Successful in 4s
Ansible Linter / ansible-lint (push) Successful in 58s

This commit is contained in:
volker.raschek committed 2025-11-22 23:59:01 +01:00
1 parent 73fc7feedb
commit 1ad689e41d
5 files changed
+5 -5

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
---
- name: "Read the last character of DNS zone: {{ zone.config.origin }}"
ansible.builtin.command:
cmd: "tail --bytes 1 {{ bind_config_directory + '/' + zone.file }}"
register: _bind9_zone_last_character
changed_when: _bind9_zone_last_character.rc == 0
failed_when: _bind9_zone_last_character.rc > 0
- 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 != ''