kolla-ansible/ansible/roles/memcached/tasks/pull.yml
Jeffrey Zhang 6e6327e822 Optimize reconfigure action for memcached
Change-Id: Ia127e29fd07bf01eb817e3d319d56f17854b09c9
Partically-implements: blueprint better-reconfigure
2017-01-02 03:10:39 +00:00

12 lines
305 B
YAML

---
- name: Pulling memcached image
vars:
service: "{{ memcached_services.memcached }}"
kolla_docker:
action: "pull_image"
common_options: "{{ docker_common_options }}"
image: "{{ service.image }}"
when:
- inventory_hostname in groups[service.group]
- service.enabled | bool