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