kolla-ansible/ansible/roles/magnum/tasks/pull.yml
Mauricio Lima 5a47049615 Optimize reconfiguration for magnum
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Change-Id: I478bc30b4fcf61507298f16001370de3e129a11f
Partially-implements: blueprint better-reconfigure
2017-01-24 13:25:20 +00:00

11 lines
291 B
YAML

---
- name: Pulling magnum 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: "{{ magnum_services }}"