diff --git a/configure_act_runner.yml b/playbooks/configure_act_runner.yml similarity index 100% rename from configure_act_runner.yml rename to playbooks/configure_act_runner.yml diff --git a/deploy_application.yml b/playbooks/deploy_application.yml similarity index 100% rename from deploy_application.yml rename to playbooks/deploy_application.yml diff --git a/install_appwrite.yml b/playbooks/install_appwrite.yml similarity index 100% rename from install_appwrite.yml rename to playbooks/install_appwrite.yml diff --git a/install_nginx.yml b/playbooks/install_nginx.yml similarity index 100% rename from install_nginx.yml rename to playbooks/install_nginx.yml diff --git a/provision_users.yml b/playbooks/provision_users.yml similarity index 100% rename from provision_users.yml rename to playbooks/provision_users.yml diff --git a/rulebooks/gitea_webhook.yml b/rulebooks/gitea_webhook.yml new file mode 100644 index 0000000..0eee119 --- /dev/null +++ b/rulebooks/gitea_webhook.yml @@ -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: