totaldebug.webhook
ansible-role-webhook
Ansible role to install adnanh webhooks server
Fork from https://github.com/andsild/ansible-webhook-role.
This webhook has configurable variables that are missing from the original fork
Role Variables
webhook_version: Sets the version of webhook to install2.7.0webhook_checksum: Sets the checksum for the version to install defaultsmd5:8bb63914f4ead672ff43191e91b0249fwebhook_user: Set the user that webhook will use dafaultswebhookwebhook_group: Set the group that webhook will use defaultswebhookwebhook_extra_groups: sets any additional groups webhook requireswebhook_port: sets the port that webhook will listen defaults9000optional_args: Optional arguments, see: Webhook-Parametersgithubhooks:[]: Required for Github hooksgitlabhooks:[]: Required for Gitlab hookshttphooks:[]: Required for http hooks
Below are different hook configuration, you can have multiple of these for each hook required
githubhooks:
- id: "redeploy-webhook-github"
cmd: "./reload.sh"
cwd: "/var/"
branch: master
token: supersecretpassword
args:
- source: "url"
name: "name"
gitlabhooks:
- id: "redeploy-webhook-gitlab"
cmd: "./reload.sh"
cwd: "/var/"
branch: ''
token: supersecretpassword
args:
- source: "url"
name: "name"
httphooks:
- id: "test id"
cmd: "./reload.sh"
cwd: "/var/"
responseMsg: "hello, world"
branch: master
token: secretsuper
Install
ansible-galaxy install totaldebug.webhookLicense
mit
Downloads
159
Owner
