Merge "Fix IHA with ansible 2.9"

This commit is contained in:
Zuul 2020-05-07 18:58:19 +00:00 committed by Gerrit Code Review
commit b31779e4df
1 changed files with 1 additions and 1 deletions

View File

@ -1018,7 +1018,7 @@ outputs:
register: iha_nodes
- name: If instance HA is enabled on the node activate the evacuation completed check
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
set_fact:
compute_ksm_enabled: {get_attr: [RoleParametersValue, value, compute_enable_ksm]}