kolla-ansible/ansible/roles/vmtp/tasks/pull.yml
caoyuan 05e874040c Optimize reconfigure action for vmtp
Change-Id: I9f76c8e7520cabcc0a35394c5a2ef48962e3939d
Partially-implements: blueprint better-reconfigure
2017-01-26 21:45:43 +08:00

11 lines
286 B
YAML

---
- name: Pulling vmtp 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: "{{ vmtp_services }}"