mirror of
https://github.com/status-im/infra-role-github-webhook.git
synced 2026-08-31 19:51:10 +00:00
23 lines
564 B
YAML
23 lines
564 B
YAML
---
|
|
- name: Copy over webhook library
|
|
file:
|
|
path: '{{ github_webhook_script_dir }}'
|
|
owner: '{{ github_webhook_service_user }}'
|
|
group: '{{ github_webhook_service_user }}'
|
|
state: 'directory'
|
|
mode: 0755
|
|
|
|
- name: Copy over server script
|
|
copy:
|
|
src: '{{ item }}'
|
|
dest: '{{ github_webhook_script_dir }}'
|
|
owner: '{{ github_webhook_service_user }}'
|
|
group: '{{ github_webhook_service_user }}'
|
|
mode: 0750
|
|
with_fileglob:
|
|
- 'files/*.py'
|
|
|
|
- name: Install Python dependencies
|
|
apt:
|
|
name: '{{ github_webhook_dependencies }}'
|