Rearrange playbooks. Add EDA
This commit is contained in:
14
rulebooks/gitea_webhook.yml
Normal file
14
rulebooks/gitea_webhook.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
- name: Listen for Gitea Webhooks
|
||||||
|
hosts: all
|
||||||
|
sources:
|
||||||
|
- name: Ansible webhook listener
|
||||||
|
ansible.eda.webhook:
|
||||||
|
port: 5000
|
||||||
|
host: 0.0.0.0
|
||||||
|
|
||||||
|
rules:
|
||||||
|
- name: Show payload
|
||||||
|
condition: 1 == 1
|
||||||
|
action:
|
||||||
|
debug:
|
||||||
Reference in New Issue
Block a user