kolla-ansible/ansible/roles/rabbitmq/tasks/pull.yml
caoyuan d56c58685e Optimize reconfigure action for rabbitmq
Change-Id: I14e1619f8fd33be5b0652982131c2a4a4b3e1292
Partially-implements: blueprint better-reconfigure
2017-02-17 11:10:04 +08:00

11 lines
294 B
YAML

---
- name: Pulling rabbitmq image
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: "{{ rabbitmq_services }}"