blob: c37e2ae38d831d039e14f416b3b94e1cd218a481 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
---
- yum:
name:
- git
state: installed
- file:
dest: "{{ checkout_dest }}"
state: directory
- git:
repo: "{{ git_repo }}"
dest: "{{ checkout_dest }}"
- cron:
name: "{{ git_repo }} autoupdate"
hour: "*"
job: "cd {{ checkout_dest }} ; git pull --rebase -q ; cp -f -R {{ subdir }} {{ destination }}"
|