kolla-ansible/ansible/roles/karbor/tasks/pull.yml
Mauricio Lima d0100432fc Optimize reconfiguration for karbor
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Change-Id: Ic5b3b7b1f8009203c8ff870a75b150704eb54e6d
Partially-implements: blueprint better-reconfigure
2017-01-25 21:25:15 +08:00

11 lines
291 B
YAML

---
- name: Pulling karbor 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: "{{ karbor_services }}"