kolla-ansible/ansible/roles/service-images-pull/tasks/main.yml
Martin Hiner a13d83400f Rename kolla_docker to kolla_container
Changes name of ansible module kolla_docker to
kolla_container.

Change-Id: I13c676ed0378aa721a21a1300f6054658ad12bc7
Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com>
2023-11-15 13:54:57 +01:00

19 lines
608 B
YAML

---
- name: "{{ kolla_role_name | default(project_name) }} | Pull images"
vars:
service: "{{ item.value }}"
become: true
kolla_container:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ service.image }}"
retries: "{{ service_images_pull_retries }}"
delay: "{{ service_images_pull_delay }}"
register: result
until: result is success
with_dict: "{{ lookup('vars', (kolla_role_name | default(project_name)) + '_services') | select_services_enabled_and_mapped_to_host }}"
loop_control:
label: "{{ item.key }}"
tags:
- service-images-pull