kolla-ansible/ansible/roles/mistral/tasks/pull.yml
caoyuan 7148b818e0 Optimize reconfiguration for mistral
Change-Id: Ieec58fe3759c8ce430a187357ca8282b0f81b7eb
Partially-implements: blueprint better-reconfigure
2017-01-24 13:52:31 +00:00

11 lines
293 B
YAML

---
- name: Pulling mistral images
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ item.value.image }}"
with_dict: "{{ mistral_services }}"
when:
- inventory_hostname in groups[item.value.group]
- item.value.enabled | bool