Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- workflow_job_template - add the ``webhook_key`` parameter to set the shared secret the webhook service uses to sign requests, matching the existing ``webhook_service``/``webhook_credential`` support.
7 changes: 7 additions & 0 deletions plugins/modules/workflow_job_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@
description:
- Personal Access Token for posting back the status to the service API
type: str
webhook_key:
description:
- Shared secret that the webhook service will use to sign requests.
- Leave this unset to leave the server value untouched, or set it to an empty string to have the server generate a new one when the webhook service is set.
type: str
survey_enabled:
description:
- Setting that variable will prompt the user for job type on the
Expand Down Expand Up @@ -824,6 +829,7 @@ def main():
ask_limit_on_launch=dict(type='bool'),
webhook_service=dict(choices=['github', 'gitlab', 'bitbucket_dc', '']),
webhook_credential=dict(),
webhook_key=dict(no_log=True),
labels=dict(type="list", elements='str'),
notification_templates_started=dict(type="list", elements='str'),
notification_templates_success=dict(type="list", elements='str'),
Expand Down Expand Up @@ -902,6 +908,7 @@ def main():
'ask_tags_on_launch',
'ask_skip_tags_on_launch',
'webhook_service',
'webhook_key',
'job_tags',
'skip_tags',
):
Expand Down