78153195b0
Remove "environment" variable from check-containers.yml task. Change-Id: Id1e1abfb10df1eb6c8f4f3c7d2f5a0dd94c0a2cc Closes-bug: #1853336
17 lines
523 B
YAML
17 lines
523 B
YAML
---
|
|
- name: Check qinling containers
|
|
become: true
|
|
kolla_docker:
|
|
action: "compare_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
name: "{{ item.value.container_name }}"
|
|
image: "{{ item.value.image }}"
|
|
volumes: "{{ item.value.volumes|reject('equalto', '')|list }}"
|
|
dimensions: "{{ item.value.dimensions }}"
|
|
when:
|
|
- inventory_hostname in groups[item.value.group]
|
|
- item.value.enabled | bool
|
|
with_dict: "{{ qinling_services }}"
|
|
notify:
|
|
- Restart {{ item.key }} container
|