kolla-ansible/ansible/roles/senlin/tasks/pull.yml
caoyuan 927c89571f Optimize reconfiguration for senlin
Change-Id: I6516db6e1cb0ccd3de6c525e686e041619f83a36
Partially-implements: blueprint better-reconfigure
2017-01-22 14:38:51 +00:00

11 lines
291 B
YAML

---
- name: Pulling senlin 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: "{{ senlin_services }}"