diff --git a/tasks/keystone_credential_create.yml b/tasks/keystone_credential_create.yml index 9ed1b647..ae684880 100644 --- a/tasks/keystone_credential_create.yml +++ b/tasks/keystone_credential_create.yml @@ -40,7 +40,7 @@ {% endif -%} {% endfor -%} {{ _var }} - when: not credential_key_list | skipped + when: not credential_key_list is skipped - name: Collect the existing keys from containers slurp: diff --git a/tasks/keystone_install.yml b/tasks/keystone_install.yml index 15eddc85..100bb7a0 100644 --- a/tasks/keystone_install.yml +++ b/tasks/keystone_install.yml @@ -136,7 +136,7 @@ state: "True" - name: "install_method" state: "{{ keystone_install_method }}" - when: (install_packages | changed) or + when: (install_packages is changed) or (ansible_local is not defined) or ('openstack_ansible' not in ansible_local) or ('keystone' not in ansible_local['openstack_ansible']) or