kolla-ansible/ansible/roles/trove/tasks/pull.yml
caoyuan 1210720a95 Optimize reconfigure action for trove
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Change-Id: Icbf70b0cb242dbd705e8794369b7f8d32a43c25f
Partially-implements: blueprint better-reconfigure
2017-02-04 13:42:55 +08:00

11 lines
289 B
YAML

---
- name: Pulling trove 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: "{{ trove_services }}"