kolla-ansible/ansible/roles/congress/tasks/pull.yml
caoyuan e527707056 Optimize reconfigure action for congress
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Change-Id: I568ebe2e5160982aaf5a82b6d73a753cbadc0c49
Partially-implements: blueprint better-reconfigure
2017-02-04 15:50:27 +08:00

11 lines
295 B
YAML

---
- name: Pulling congress 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: "{{ congress_services }}"