---
- name: "Stopping {{ service_name }} containers"
  vars:
    service: "{{ item.value }}"
  become: true
  kolla_docker:
    action: "stop_container"
    common_options: "{{ docker_common_options }}"
    name: "{{ service.container_name }}"
  when:
    - service.container_name not in skip_stop_containers
  with_dict: "{{ project_services | select_services_enabled_and_mapped_to_host }}"
