---
- name: Stopping nova cell services
  become: true
  kolla_container:
    action: "stop_container"
    common_options: "{{ docker_common_options }}"
    name: "{{ item.value.container_name }}"
  with_dict: "{{ nova_cell_services | select_services_enabled_and_mapped_to_host }}"
  when:
    - "'nova-compute' not in item.key"
    - item.key in nova_cell_services_require_nova_conf
    - nova_safety_upgrade | bool

- import_tasks: rolling_upgrade.yml
