Merge pull request #1690 from emonty/typo-fix

Fix a small typo in parameter processing
reviewable/pr18780/r1
Monty Taylor 11 years ago
commit 007efe438d

@ -61,7 +61,7 @@ def main():
config = os_client_config.OpenStackConfig() config = os_client_config.OpenStackConfig()
clouds = [] clouds = []
for cloud in config.get_all_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 cloud.config['name'] = cloud.name
clouds.append(cloud.config) clouds.append(cloud.config)
module.exit_json(ansible_facts=dict(openstack=dict(clouds=clouds))) module.exit_json(ansible_facts=dict(openstack=dict(clouds=clouds)))

Loading…
Cancel
Save