-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathgithub_hook.yml
21 lines (21 loc) · 968 Bytes
/
github_hook.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
- hosts: localhost
vars:
GIT_PERSONAL_ACCESS_TOKEN: !vault |
$ANSIBLE_VAULT;1.1;AES256
62633262316636323931393934373335663965383531643663333531633331633263373966323935
6163383630343131396337373833353333333861656232610a613966366365646563666430343232
63643430626466653231323034346263383536636236356363316231653632653063626663376639
3237623362613463630a383836303964663436383832323931333036396632666262306464353961
63633830633137336564313166663034316539636137623661396463323238623336376433633063
3664363263626561366631333837326566663937393761346263
tasks:
- name: ECHO
debug:
var: GIT_PERSONAL_ACCESS_TOKEN
- github_hooks:
action: create
hookurl: http://34.210.70.136:8090/github-webhook/
user: khantilchoksi
oauthkey: '{{GIT_PERSONAL_ACCESS_TOKEN}}'
repo: https://api.github.com/repos/khantilchoksi/checkbox.io