cadvisor is not packaged in Ubuntu 24.04.

This commit is contained in:
Andrea Dell'Amico 2024-09-26 17:19:55 +02:00
parent 7a76113efc
commit 7d09ed307e
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@
- import_tasks: docker_setup.yml - import_tasks: docker_setup.yml
- name: Import the cAdvisor tasks - name: Import the cAdvisor tasks
ansible.builtin.import_tasks: cadvisor.yml ansible.builtin.import_tasks: cadvisor.yml
when: docker_swarm_cluster_cadvisor_install when:
- docker_swarm_cluster_cadvisor_install
- ansible_distribution_version is version_compare('24.04', '<')
- import_tasks: swarm_mgr.yml - import_tasks: swarm_mgr.yml
when: docker_swarm when: docker_swarm