From 8e26a7ae17381078f4b411476dbe9eca02455a58 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 9 Jul 2015 09:33:10 -0400 Subject: [PATCH] Fix a small typo in parameter processing --- lib/ansible/modules/cloud/openstack/os_client_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/openstack/os_client_config.py b/lib/ansible/modules/cloud/openstack/os_client_config.py index 2c4af5c8c0..7128b06ffc 100644 --- a/lib/ansible/modules/cloud/openstack/os_client_config.py +++ b/lib/ansible/modules/cloud/openstack/os_client_config.py @@ -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)))