Update file main.yml

This commit is contained in:
Administrator 2025-11-20 10:43:43 +00:00
parent 1145678fff
commit ce4ed775dd

View File

@ -5,7 +5,7 @@
ignore_errors: yes
changed_when: false
- name: Install cAdvisor
- name: Install cAdvisor (only on Docker hosts)
block:
- name: Create cAdvisor directories
file:
@ -47,7 +47,9 @@
community.docker.docker_compose_v2:
project_src: "{{ cadvisor_base_dir }}"
state: present
restarted: yes
become: yes
register: cadvisor_start
- name: Wait for cAdvisor to start
wait_for: