kayobe/ansible/roles/inspection-store/tasks/pull.yml

12 lines
304 B
YAML

---
- name: Pulling inspection store container image
docker_image:
name: "{{ item.value.image }}"
repository: "{{ item.value.image }}"
source: pull
state: present
with_dict: "{{ inspection_store_services }}"
when:
- item.value.enabled
- inspection_store_action != 'destroy'