Ansible role for GitHub webhook handler https://docs.github.com/en/webhooks/about-webhooks
Go to file
Jakub Sokołowski dcfc06f86c
user: use 1500 UID, let fleets override it
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-27 10:10:40 +02:00
defaults user: use 1500 UID, let fleets override it 2023-09-27 10:10:40 +02:00
files Role intialization 2023-05-30 14:30:02 +02:00
meta Role intialization 2023-05-30 14:30:02 +02:00
tasks user: use 1500 UID, let fleets override it 2023-09-27 10:10:40 +02:00
templates service: move description to the template 2023-09-27 10:10:18 +02:00
README.md user: fix naming of groups additional groups var 2023-09-27 10:10:15 +02:00

README.md

Description

This is a helper role that deploy a python server for github webhook

Configuration

The following parameter have to be added

github_webhook_service_user:
github_webhook_dest_path:
github_webhook_secret:
github_webhook_ssh_key:
github_webhook_repo_url:
github_webhook_repo_branch:

github_webhook_dest_path correspond to the base path where the repository will be cloned. The name of the repo owner and the repo name will be added to the path.

The github_webhook_secret is generated when configuring the webhook in the repository.

The public key associated to github_webhook_ssh_key has to be added as a Deploy key in the repository setting.

The user github_webhook_service_user can be added to additional group by overriding the list github_webhook_user_additional_groups.