Add auto-deploy for blog.jaseg.de
This commit is contained in:
parent
f698d78c4c
commit
514af66cc3
4 changed files with 41 additions and 2 deletions
|
|
@ -108,6 +108,30 @@
|
|||
group: gitolite3
|
||||
mode: 0600
|
||||
|
||||
- name: Create gitolite hook dir
|
||||
file:
|
||||
path: /var/lib/gitolite3/local/hooks/repo-specific
|
||||
state: directory
|
||||
owner: gitolite3
|
||||
group: gitolite3
|
||||
mode: 0755
|
||||
|
||||
- name: Copy blog.jaseg.de git deployment script
|
||||
copy:
|
||||
src: gitolite-site-deploy-hook.sh
|
||||
dest: /var/lib/gitolite3/local/hooks/repo-specific
|
||||
owner: gitolite3
|
||||
group: gitolite3
|
||||
mode: 0755
|
||||
|
||||
- name: Create blog content dir
|
||||
file:
|
||||
path: /var/www/blog.jaseg.de
|
||||
state: directory
|
||||
owner: nginx
|
||||
group: gitolite3
|
||||
mode: 0570
|
||||
|
||||
- name: Query system user account info
|
||||
getent:
|
||||
database: passwd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue