infra-role-github-webhook/defaults/main.yml

31 lines
962 B
YAML

---
github_webhook_service_user: 'github'
github_webhook_service_user_groups: ['www-data']
github_webhook_service_user_uid: 1500
github_webhook_service_name: '{{ github_webhook_service_user }}-webhook'
github_webhook_home: '/home/{{ github_webhook_service_user }}'
github_webhook_venv_path: '{{ github_webhook_home }}/venv'
github_webhook_script_dir: '{{ github_webhook_home }}/webhook'
github_webhook_addr: 'localhost'
github_webhook_port: 9090
github_webhook_dependencies:
- 'python3-flask'
- 'python3-git'
# Optional command to run after repo update.
#github_webhook_post_command: '/usr/local/bin/handle_repo_update.sh --verbose'
# REQUIRED: python files will be copied here
#github_webhook_dest_path: ~
# REQUIRED: authentication of github requests
#github_webhook_secret: ~
# REQUIRED: private SSH key for Git access
#github_webhook_ssh_key: ~
# REQUIRED: details of repo to keep updated
#github_webhook_repo_url: ~
#github_webhook_repo_branch: ~