fix: standardize YAML formatting and improve readability in bind9 configuration files
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user