summaryrefslogtreecommitdiffstats
path: root/roles/cgit/tasks/main.yml
blob: f6ac30ad31d4e637699bf6cb87a7425adc1f1782 (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

- template: 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