kolla-ansible/ansible/roles/multipathd/tasks/pull.yml
ZhijunWei 13f8aef9f8 Optimize reconfiguration for multipathd
Change-Id: I288fa5ea202376d481de6966150e7e050e390f03
Partially-implements: blueprint better-reconfigure
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Closes-Bug: #1796219
2018-10-20 03:35:17 +00:00

12 lines
313 B
YAML

---
- name: Pulling multipathd image
become: true
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: "{{ multipathd_services }}"