4 Commits

Author SHA1 Message Date
4ed30e396f chore(deps): update ansible/ansible-lint action to v25.9.0
Some checks failed
Ansible Linter / ansible-lint (push) Failing after 3s
Lint Markdown files / markdown-lint (push) Failing after 4s
Ansible Linter / ansible-lint (pull_request) Failing after 2s
Lint Markdown files / markdown-lint (pull_request) Failing after 4s
2025-09-18 22:00:30 +00:00
8cd8caece1 chore(deps): update actions/checkout to v5.0.0
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 22s
Lint Markdown files / markdown-lint (push) Successful in 6s
2025-09-18 22:30:17 +02:00
6ee7e2a0ae fix: avoid interpolation of variable
All checks were successful
Ansible Linter / ansible-lint (push) Successful in 1m7s
Lint Markdown files / markdown-lint (push) Successful in 10s
2025-09-18 18:54:38 +02:00
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
4 changed files with 5 additions and 5 deletions

View File

@ -12,9 +12,9 @@ jobs:
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v5.0.0
- name: Run ansible-lint - name: Run ansible-lint
uses: ansible/ansible-lint@v25.8.2 uses: ansible/ansible-lint@v25.9.0
with: with:
args: "--config-file .ansible-lint" args: "--config-file .ansible-lint"
setup_python: "true" setup_python: "true"

View File

@ -12,7 +12,7 @@ jobs:
runs-on: runs-on:
- ubuntu-latest - ubuntu-latest
steps: steps:
- uses: actions/checkout@v4.3.0 - uses: actions/checkout@v5.0.0
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0 - uses: DavidAnson/markdownlint-cli2-action@v20.0.0
with: with:
globs: '**/*.md' globs: '**/*.md'

View File

@ -1,6 +1,6 @@
--- ---
- name: "Create config directory of DNS zone {{ zone.config.origin }}" - name: "Create config directory of DNS zones"
ansible.builtin.file: ansible.builtin.file:
path: "{{ bind_config_directory }}/{{ zone.file | dirname }}" path: "{{ bind_config_directory }}/{{ zone.file | dirname }}"
owner: "{{ bind_unix_user }}" owner: "{{ bind_unix_user }}"

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