kolla-ansible/ansible/roles/cloudkitty/tasks/pull.yml
caoyuan 2363a8e469 Optimize reconfigure action for cloudkitty
Change-Id: I7389a437d54db9c6dfb4706b2fe541a4c4702de5
Partially-implements: blueprint better-reconfigure
2017-01-26 03:22:32 +00:00

11 lines
299 B
YAML

---
- name: Pulling cloudkitty 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: "{{ cloudkitty_services }}"