kolla-ansible/ansible/roles/etcd/tasks/pull.yml
Mauricio Lima b155ad5d96 Optimize reconfiguration for etcd
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Change-Id: I1cd494afd3a76e832272e70e9e1e5a41a522a31e
Partially-implements: blueprint better-reconfigure
2017-02-06 23:01:09 +08:00

11 lines
286 B
YAML

---
- name: Pulling etcd 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: "{{ etcd_services }}"