kayobe/ansible/roles/cadvisor/tasks/pull.yml
2018-01-23 12:25:20 +00:00

11 lines
254 B
YAML

---
- name: Pulling cAdvisor container image
docker_image:
name: "{{ item.value.image }}"
repository: "{{ item.value.image }}"
state: present
with_dict: "{{ cadvisor_services }}"
when:
- item.value.enabled
- action != 'destroy'