kolla-ansible/ansible/roles/designate/tasks/pull.yml
Mauricio Lima 871733c956 Optimize reconfiguration for designate
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Co-Authored-By: Francisco Edigleison Barbosa <barbosaedigleison@gmail.com>
Change-Id: I68c7e753060af2544acdb7d0a2c641c85bad42c6
Partially-implements: blueprint better-reconfigure
2017-02-13 20:39:33 +08:00

11 lines
297 B
YAML

---
- name: Pulling designate 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: "{{ designate_services }}"