mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 17:53:10 +00:00
OS dynamic inventory: respect OS_CLOUD env var
This commit is contained in:
committed by
Toshio Kuratomi
parent
ebb1d75ee0
commit
fe5e1a4bc4
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user