kolla-ansible/ansible/roles/glance/tasks/stop_service.yml
Martin Hiner a13d83400f Rename kolla_docker to kolla_container
Changes name of ansible module kolla_docker to
kolla_container.

Change-Id: I13c676ed0378aa721a21a1300f6054658ad12bc7
Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com>
2023-11-15 13:54:57 +01:00

13 lines
330 B
YAML

---
- name: Stop glance service
vars:
glance_api: "{{ glance_services['glance-api'] }}"
become: true
kolla_container:
action: "stop_container"
common_options: "{{ docker_common_options }}"
name: "{{ glance_api.container_name }}"
when:
- glance_api.host_in_groups | bool
- glance_api.enabled | bool