kayobe/ansible/roles/docker-registry/tasks/pull.yml

11 lines
268 B
YAML

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