1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

OS dynamic inventory: respect OS_CLOUD env var

This commit is contained in:
Alvaro Aleman 2016-10-08 23:03:22 +02:00 committed by Toshio Kuratomi
parent ebb1d75ee0
commit fe5e1a4bc4

View file

@ -219,6 +219,7 @@ def main():
refresh=args.refresh,
config_files=config_files,
private=args.private,
cloud=os.environ.get('OS_CLOUD')
)
if hasattr(shade.inventory.OpenStackInventory, 'extra_config'):
inventory_args.update(dict(