kolla-ansible/ansible/roles/sahara/tasks/pull.yml
Mauricio Lima 8b0fa7728c Optimize reconfiguration for sahara
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Change-Id: Iefc3ffc03a15a2e8eea49e91297ce75a5690010b
Partially-implements: blueprint better-reconfigure
2017-01-24 13:53:41 +00:00

11 lines
291 B
YAML

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