feat: Establish version maintenance strategy for BIND9 support (#5) #7

Merged
daniel merged 19 commits from main into origin/main 2026-02-07 22:02:28 +00:00
3 changed files with 7 additions and 5 deletions
Showing only changes of commit 17a9918685 - Show all commits

View File

@@ -7,7 +7,8 @@ argument_specs:
type: list type: list
elements: dict elements: dict
description: 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). - Each element must have a 'name' key (filename).
bind9_default_config: bind9_default_config:
type: list type: list

View File

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

View File

@@ -67,7 +67,9 @@
- name: Fail due to invalid configuration - name: Fail due to invalid configuration
ansible.builtin.fail: 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: always:
- name: Remove backup files - name: Remove backup files
@@ -77,8 +79,8 @@
loop: "{{ bind9_config }}" loop: "{{ bind9_config }}"
loop_control: loop_control:
label: "{{ item.name }}" 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: tags:
- bind9 - bind9
- template - template