reduce ansible grafana log verbosity by using loop_control labels
All checks were successful
/ Ansible Lint (push) Successful in 2m27s
All checks were successful
/ Ansible Lint (push) Successful in 2m27s
This commit is contained in:
parent
2c1f95df9a
commit
0330c6b6ca
1 changed files with 4 additions and 0 deletions
|
|
@ -45,6 +45,8 @@
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
docker_compose__config_files_to_exist: "{{ docker_compose__config_files_to_exist + [ item.name ] }}" # noqa: jinja[spacing]
|
docker_compose__config_files_to_exist: "{{ docker_compose__config_files_to_exist + [ item.name ] }}" # noqa: jinja[spacing]
|
||||||
loop: "{{ docker_compose__configuration_files }}"
|
loop: "{{ docker_compose__configuration_files }}"
|
||||||
|
loop_control:
|
||||||
|
label: "{{ item.name }}"
|
||||||
|
|
||||||
- name: find configuration files to remove
|
- name: find configuration files to remove
|
||||||
ansible.builtin.find:
|
ansible.builtin.find:
|
||||||
|
|
@ -70,6 +72,8 @@
|
||||||
group: root
|
group: root
|
||||||
become: true
|
become: true
|
||||||
loop: "{{ docker_compose__configuration_files }}"
|
loop: "{{ docker_compose__configuration_files }}"
|
||||||
|
loop_control:
|
||||||
|
label: "{{ item.name }}"
|
||||||
notify: docker compose restart
|
notify: docker compose restart
|
||||||
|
|
||||||
- name: Sync files
|
- name: Sync files
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue