Merge "Don't disable compute cell in scale down tasks for additional cells"
This commit is contained in:
commit
d639b51c0b
|
@ -1083,6 +1083,9 @@ outputs:
|
|||
delegate_to: localhost
|
||||
check_mode: no
|
||||
changed_when: false
|
||||
- name: is additional Cell?
|
||||
set_fact:
|
||||
is_additional_cell: {get_param: NovaAdditionalCell}
|
||||
- name: Set fact for nova_compute services
|
||||
set_fact:
|
||||
nova_compute_service: "{{ nova_compute_service_result.stdout | from_yaml | selectattr('Host', 'match', ansible_fqdn ~ '.*') | list }}"
|
||||
|
@ -1105,6 +1108,7 @@ outputs:
|
|||
check_mode: no
|
||||
when:
|
||||
- (nova_compute_service | length) <= 1
|
||||
- not is_additional_cell|bool
|
||||
- name: Stop nova-compute healthcheck container
|
||||
service:
|
||||
name: tripleo_nova_compute_healthcheck
|
||||
|
|
Loading…
Reference in New Issue