kolla-ansible/ansible/roles/elasticsearch/tasks/pull.yml
Mauricio Lima ef81297e09 Optimize reconfiguration for elasticsearch
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Change-Id: Ica989c7f70810d2cf98c0920ec264a311473e5b1
Partially-implements: blueprint better-reconfigure
2017-01-25 15:48:33 +08:00

11 lines
304 B
YAML

---
- name: Pulling elasticsearch 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: "{{ elasticsearch_services }}"