blob: 065f237666e6cf5c2eb570594d9f3625e6fd79af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
---
- yum: name={{ item }} state=installed
with_items:
- cgit
- lineinfile: dest=/etc/cgitrc line=include=/etc/cgitrepos
- copy: mode=0644 src=cgitrepos dest=/etc/cgitrepos
- copy: mode=0644 src=cgit.httpd.conf dest=/etc/httpd/conf.d/cgit.conf
notify: restart httpd
# TODO clean once the mess with domain name is solved
- template: src=vhost.conf dest=/etc/httpd/conf.d/git.theopensourceway.org.conf
notify: restart httpd
|