Merge "Fix IHA with ansible 2.9" into stable/train

This commit is contained in:
Zuul 2020-05-13 01:01:09 +00:00 committed by Gerrit Code Review
commit f9401f36d5
1 changed files with 1 additions and 1 deletions

View File

@ -960,7 +960,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]}