kolla-ansible/ansible/roles/manila/tasks/pull.yml
Mauricio Lima 035ab8b79b Optimize reconfigure action for manila
Change-Id: Ia4dcc5eddd2b18a4b9b36d9bd809c405d4f92b27
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Co-Authored-By: Francisco Edigleison Barbosa <barbosaedigleison@gmail.com>
Partially-implements: blueprint better-reconfigure
2017-02-01 19:58:32 +08:00

11 lines
291 B
YAML

---
- name: Pulling manila 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: "{{ manila_services }}"