kolla-ansible/ansible/roles/tacker/tasks/pull.yml
Eduardo Gonzalez cc149dd0c6 Optimize reconfiguration for tacker
Change-Id: I5258b6e1384d75972b64a2b83d1913545b5af44d
Partically-implements: blueprint better-reconfigure
2017-01-25 09:41:24 +00:00

11 lines
290 B
YAML

---
- name: Pulling tacker image
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: "{{ tacker_services }}"