From a2fee252f98a45b6f251302c417972f36d1f78c6 Mon Sep 17 00:00:00 2001 From: Hampus Lundqvist Date: Thu, 3 Oct 2019 19:58:12 +0200 Subject: [PATCH] fix tests and typos --- awx_collection/plugins/modules/tower_inventory_source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx_collection/plugins/modules/tower_inventory_source.py b/awx_collection/plugins/modules/tower_inventory_source.py index f91c2db1e3..bfaba29d30 100644 --- a/awx_collection/plugins/modules/tower_inventory_source.py +++ b/awx_collection/plugins/modules/tower_inventory_source.py @@ -38,7 +38,7 @@ options: required: True type: str organization: - descripton: + description: - Organization the inventory belongs to. reguired: True source: @@ -306,7 +306,7 @@ def main(): try: inventory_res = tower_cli.get_resource('inventory') - params['inventory'] = inventory_res.get(name=inventory,organization=org['id'])['id'] + params['inventory'] = inventory_res.get(name=inventory, organization=org['id'])['id'] except (exc.NotFound) as excinfo: module.fail_json( msg='Failed to update inventory source, '