You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In tasks/create.yml, this check happens: failed_when: (openstack.clouds | length) != 1. I'm still not sure how this happens, but we've gotten a report that somehow the openstack var is undefined:
msg: 'The conditional check ''(openstack.clouds | length) != 1'' failed. The error was: error while evaluating conditional ((openstack.clouds | length) != 1): ''openstack'' is undefined'
The text was updated successfully, but these errors were encountered:
Without knowing more about how the os_client_config is returning without populating the openstack fact (I haven't yet looked into it), something we could potentially do in the meantime is default the openstack fact, e.g. failed_when: ((openstack.clouds | default({'clouds': []})) | length) != 1
A reproducer would be handy, and at that point we could potentially open an issue/pr against ansible if there's a bug in the module
In
tasks/create.yml
, this check happens:failed_when: (openstack.clouds | length) != 1
. I'm still not sure how this happens, but we've gotten a report that somehow theopenstack
var is undefined:The text was updated successfully, but these errors were encountered: