a13d83400f
Changes name of ansible module kolla_docker to kolla_container. Change-Id: I13c676ed0378aa721a21a1300f6054658ad12bc7 Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com>
19 lines
608 B
YAML
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
|