From f82163499c2ac5cc7ad198971f8e7f89392d96f5 Mon Sep 17 00:00:00 2001 From: sean-m-sullivan Date: Mon, 8 Feb 2021 23:10:34 -0600 Subject: [PATCH] update python --- awx_collection/plugins/modules/tower_project.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/awx_collection/plugins/modules/tower_project.py b/awx_collection/plugins/modules/tower_project.py index 22b7898b07..015badc02b 100644 --- a/awx_collection/plugins/modules/tower_project.py +++ b/awx_collection/plugins/modules/tower_project.py @@ -179,7 +179,13 @@ from ..module_utils.tower_api import TowerAPIModule def wait_for_project_update(module, last_request): - # The current running job for the udpate is in last_request['summary_fields']['current_update']['id'] + # The current running job for the update is in last_request['summary_fields']['current_update']['id'] + + # Get parameters that were not passed in + update_project = module.params.get('update_project') + wait = module.params.get('wait') + timeout = module.params.get('timeout') + interval = module.params.get('interval') if 'current_update' in last_request['summary_fields']: running = True