reduce ansible grafana log verbosity by using loop_control labels
All checks were successful
/ Ansible Lint (push) Successful in 2m27s

This commit is contained in:
lilly 2026-04-23 22:36:45 +02:00
commit 0330c6b6ca
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g

View file

@ -45,6 +45,8 @@
ansible.builtin.set_fact:
docker_compose__config_files_to_exist: "{{ docker_compose__config_files_to_exist + [ item.name ] }}" # noqa: jinja[spacing]
loop: "{{ docker_compose__configuration_files }}"
loop_control:
label: "{{ item.name }}"
- name: find configuration files to remove
ansible.builtin.find:
@ -70,6 +72,8 @@
group: root
become: true
loop: "{{ docker_compose__configuration_files }}"
loop_control:
label: "{{ item.name }}"
notify: docker compose restart
- name: Sync files