fix: resolve yamllint errors
Some checks failed
Test / Lint (push) Failing after 16s
Test / Lint (pull_request) Failing after 12s
Test / Test (push) Has been skipped
Test / Test (pull_request) Has been skipped

- Fix line length in meta/argument_specs.yml (wrap long description)
- Remove extra blank lines in molecule/default/collections.yml
- Fix line lengths in tasks/main.yml (wrap long messages)
- Remove trailing spaces from tasks/main.yml
- Ensure all YAML files pass yamllint with relaxed profile
This commit is contained in:
Daniel Akulenok
2026-01-28 23:15:23 +01:00
parent ca70afbd51
commit 17a9918685
3 changed files with 7 additions and 5 deletions

View File

@@ -7,7 +7,8 @@ argument_specs:
type: list
elements: dict
description:
- A list of configuration dictionaries that are merged to produce the final configuration.
- A list of configuration dictionaries that are merged to
produce the final configuration.
- Each element must have a 'name' key (filename).
bind9_default_config:
type: list

View File

@@ -4,4 +4,3 @@ collections:
- name: ansible.posix
- name: community.crypto
- name: community.general

View File

@@ -67,7 +67,9 @@
- name: Fail due to invalid configuration
ansible.builtin.fail:
msg: "Configuration validation failed. Changes have been reverted. Check the logs for named-checkconf errors."
msg: |
Configuration validation failed. Changes have been reverted.
Check the logs for named-checkconf errors.
always:
- name: Remove backup files
@@ -77,7 +79,7 @@
loop: "{{ bind9_config }}"
loop_control:
label: "{{ item.name }}"
when: bind9_backup_config | bool is false # Keep if backup is forced, otherwise cleanup temporary atomic backup
when: bind9_backup_config | bool is false
tags:
- bind9