diff options
Diffstat (limited to 'roles')
-rw-r--r-- | roles/cgit/files/cgit.httpd.conf | 5 | ||||
-rw-r--r-- | roles/cgit/tasks/main.yml | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/roles/cgit/files/cgit.httpd.conf b/roles/cgit/files/cgit.httpd.conf new file mode 100644 index 0000000..f389f2f --- /dev/null +++ b/roles/cgit/files/cgit.httpd.conf @@ -0,0 +1,5 @@ + +<Directory "/usr/share/cgit"> + Require all granted +</Directory> + diff --git a/roles/cgit/tasks/main.yml b/roles/cgit/tasks/main.yml index 5488df6..5e5d4ee 100644 --- a/roles/cgit/tasks/main.yml +++ b/roles/cgit/tasks/main.yml @@ -4,5 +4,8 @@ - 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 + |