mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix a small typo in parameter processing
This commit is contained in:
parent
f8f4a7dcdf
commit
8e26a7ae17
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def main():
|
|||
config = os_client_config.OpenStackConfig()
|
||||
clouds = []
|
||||
for cloud in config.get_all_clouds():
|
||||
if not module.params['clouds'] or cloud.name in module.param['clouds']:
|
||||
if not p['clouds'] or cloud.name in p['clouds']:
|
||||
cloud.config['name'] = cloud.name
|
||||
clouds.append(cloud.config)
|
||||
module.exit_json(ansible_facts=dict(openstack=dict(clouds=clouds)))
|
||||
|
|
Loading…
Reference in a new issue