mirror of https://github.com/ansible/ansible.git
Fix openstack inventory script for multi-cloud case (#41664)
The shift to openstacksdk left us with a bug in that when running bare with --list, the cloud argument to get_one is None. We just need _one_ of the clouds to pull the cache settings, since they are global (yet, we'll go back and fix this in sdk) If it's None, just use get_all and grab the first one.pull/41615/merge
parent
a79b6ec8a2
commit
16fb74ffb3
Loading…
Reference in New Issue