From 3ed5d6ec658c850a62945707998daf6090af13c6 Mon Sep 17 00:00:00 2001 From: beeankha Date: Mon, 25 Nov 2019 15:16:41 -0500 Subject: [PATCH] Make integrations pass even with manual SCM type --- awx_collection/plugins/modules/tower_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx_collection/plugins/modules/tower_project.py b/awx_collection/plugins/modules/tower_project.py index 8793dbea72..d886a03460 100644 --- a/awx_collection/plugins/modules/tower_project.py +++ b/awx_collection/plugins/modules/tower_project.py @@ -225,7 +225,7 @@ def main(): custom_virtualenv=custom_virtualenv, create_on_missing=True) json_output['id'] = result['id'] - if wait: + if wait and scm_type != '': project.wait(pk=None, parent_pk=result['id']) elif state == 'absent': result = project.delete(name=name)