fix: standardize YAML formatting and improve readability in bind9 configuration files

This commit is contained in:
Daniel Akulenok
2026-02-06 13:38:56 +01:00
parent f6eee76e05
commit cdcc4cbbda
4 changed files with 10 additions and 19 deletions

View File

@@ -15,7 +15,7 @@
state: directory
owner: root
group: root
mode: '0750'
mode: "0750"
when: bind9_backup_config is defined and bind9_backup_config | bool
- name: Deploy and Validate Configuration
@@ -33,9 +33,9 @@
remote_src: true
owner: root
group: bind
mode: '0640'
mode: "0640"
changed_when: false
failed_when: false # It's okay if the file doesn't exist yet
failed_when: false # It's okay if the file doesn't exist yet
loop: "{{ bind9_config }}"
loop_control:
label: "{{ item.name }}"
@@ -46,7 +46,7 @@
dest: "{{ bind9_cfgdir }}/{{ item.name }}"
owner: root
group: bind
mode: '0640'
mode: "0640"
loop: "{{ bind9_config }}"
loop_control:
label: "{{ item.name }}"
@@ -65,7 +65,7 @@
remote_src: true
owner: root
group: bind
mode: '0640'
mode: "0640"
loop: "{{ bind9_config }}"
loop_control:
label: "{{ item.name }}"