From 00f8dd9e6a2efb244e2fff47d65bfffa89cf9b63 Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Thu, 21 May 2020 08:25:32 -0400 Subject: [PATCH] Adding '' option to webhook_service --- awx_collection/plugins/modules/tower_job_template.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx_collection/plugins/modules/tower_job_template.py b/awx_collection/plugins/modules/tower_job_template.py index 3dc8bbb13a..a2751a0ecd 100644 --- a/awx_collection/plugins/modules/tower_job_template.py +++ b/awx_collection/plugins/modules/tower_job_template.py @@ -246,6 +246,7 @@ options: - Service that webhook requests will be accepted from type: str choices: + - '' - 'github' - 'gitlab' webhook_credential: @@ -390,7 +391,7 @@ def main(): scm_branch=dict(), ask_scm_branch_on_launch=dict(type='bool'), job_slice_count=dict(type='int', default='1'), - webhook_service=dict(choices=['github', 'gitlab']), + webhook_service=dict(choices=['github', 'gitlab','']), webhook_credential=dict(), labels=dict(type="list", elements='str'), notification_templates_started=dict(type="list", elements='str'),