2019-07-23 13:07:42 +00:00
|
|
|
---
|
2019-08-19 15:52:46 +01:00
|
|
|
- name: Stopping nova cell services
|
2019-07-23 13:07:42 +00:00
|
|
|
become: true
|
2019-08-19 15:52:46 +01:00
|
|
|
kolla_docker:
|
|
|
|
action: "stop_container"
|
|
|
|
common_options: "{{ docker_common_options }}"
|
|
|
|
name: "{{ item.value.container_name }}"
|
|
|
|
with_dict: "{{ nova_cell_services }}"
|
|
|
|
when:
|
|
|
|
- "'nova-compute' not in item.key"
|
|
|
|
- item.key in nova_cell_services_require_nova_conf
|
|
|
|
- inventory_hostname in groups[item.value.group]
|
|
|
|
- item.value.enabled | bool
|
|
|
|
- nova_safety_upgrade | bool
|
2019-07-23 13:07:42 +00:00
|
|
|
|
2020-06-29 15:06:53 +01:00
|
|
|
- import_tasks: rolling_upgrade.yml
|