Merge "Fix IHA with ansible 2.9"
This commit is contained in:
commit
b31779e4df
@ -1018,7 +1018,7 @@ outputs:
|
|||||||
register: iha_nodes
|
register: iha_nodes
|
||||||
- name: If instance HA is enabled on the node activate the evacuation completed check
|
- name: If instance HA is enabled on the node activate the evacuation completed check
|
||||||
file: path=/var/lib/nova/instanceha/enabled state=touch
|
file: path=/var/lib/nova/instanceha/enabled state=touch
|
||||||
when: iha_nodes.stdout|lower | search('"'+ansible_hostname|lower+'"')
|
when: iha_nodes.stdout|lower is search('"'+ansible_hostname|lower+'"')
|
||||||
- name: is KSM enabled
|
- name: is KSM enabled
|
||||||
set_fact:
|
set_fact:
|
||||||
compute_ksm_enabled: {get_attr: [RoleParametersValue, value, compute_enable_ksm]}
|
compute_ksm_enabled: {get_attr: [RoleParametersValue, value, compute_enable_ksm]}
|
||||||
|
Loading…
Reference in New Issue
Block a user