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:
parent
ebb1d75ee0
commit
fe5e1a4bc4
1 changed files with 1 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue