diff options
Diffstat (limited to 'roles/cgit/tasks/main.yml')
-rw-r--r-- | roles/cgit/tasks/main.yml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/roles/cgit/tasks/main.yml b/roles/cgit/tasks/main.yml index f6ac30a..d7cb520 100644 --- a/roles/cgit/tasks/main.yml +++ b/roles/cgit/tasks/main.yml @@ -3,13 +3,23 @@ with_items: - cgit -- lineinfile: dest=/etc/cgitrc line=include=/etc/cgitrepos +- lineinfile: + dest: /etc/cgitrc + line: "include=/etc/cgitrepos" -- template: mode=0644 src=cgitrepos dest=/etc/cgitrepos +- template: + mode: 0644 + src: cgitrepos + dest: /etc/cgitrepos -- copy: mode=0644 src=cgit.httpd.conf dest=/etc/httpd/conf.d/cgit.conf +- 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 +- template: + src: vhost.conf + dest: /etc/httpd/conf.d/{{ website_domain }}.conf.d/cgit.conf notify: restart httpd |