kolla-ansible/ansible/roles/octavia/tasks/pull.yml
caoyuan 517491a93a Optimize reconfiguration for octavia
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Change-Id: If6a0d935df9f8b84d7628b2c8753aa12627e2c8a
Partially-implements: blueprint better-reconfigure
2017-01-27 21:02:02 +08:00

11 lines
293 B
YAML

---
- name: Pulling octavia 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: "{{ octavia_services }}"