From 50d40d79f7e201ee653b92484aaac87717a1c24a Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 12 Dec 2014 16:42:22 +0100 Subject: Change the default config file to not have the alias on every vhost --- roles/cgit/files/cgit.httpd.conf | 5 +++++ roles/cgit/tasks/main.yml | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 roles/cgit/files/cgit.httpd.conf 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 @@ + + + Require all granted + + 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 + -- cgit