caoyuan 40b635b9c5 Optimize reconfiguration for mongodb
Change-Id: If3828170c00a9c5327b94d9253be93aefa147db9
Partially-implements: blueprint better-reconfigure
2018-01-30 13:34:11 +08:00

11 lines
292 B
YAML

---
- name: Pulling mongodb 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: "{{ mongodb_services }}"