kolla-ansible/ansible/roles/aodh/tasks/pull.yml
caoyuan ec8f05587e Optimize reconfiguration for aodh
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Change-Id: Ib54136f9d4313db05f3711fc1c8d7a07d2186d6b
Partially-implements: blueprint better-reconfigure
2017-01-26 10:03:42 -03:00

11 lines
287 B
YAML

---
- name: Pulling aodh 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: "{{ aodh_services }}"