Update webhook

This commit is contained in:
2023-12-29 11:34:34 -05:00
parent d3e99ef12b
commit e054cd2125

View File

@@ -6,9 +6,15 @@
ansible.eda.webhook:
port: 5000
host: 0.0.0.0
filters:
- ansible.eda.dashes_to_underscores:
rules:
- name: Show payload
condition: 1 == 1
- name: Create facts
condition: event.payload is defined
action:
debug:
run_job_template:
name: bab-deploy-application
organization: OYS
job_args:
extra_vars:
artifact_url: event.payload.artifact_url