Browse Source

Merge pull request #215 from squarepegsys/master

add cgi module for cgit
Luke Cyca 10 years ago
parent
commit
0b516d484f
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      roles/git/tasks/cgit.yml

+ 5
- 1
roles/git/tasks/cgit.yml View File

@@ -38,10 +38,14 @@
38 38
             owner=www-data
39 39
   notify: restart apache
40 40
 
41
+- name: Enable Apache cgi module
42
+  command: a2enmod cgi creates=/etc/apache2/mods-enabled/cgi.load
43
+  notify: restart apache
44
+
41 45
 - name: Enable Apache rewrite module
42 46
   command: a2enmod rewrite creates=/etc/apache2/mods-enabled/rewrite.load
43 47
   notify: restart apache
44 48
 
45 49
 - name:  Enable cgit site
46 50
   command: a2ensite cgit creates=/etc/apache2/sites-enabled/cgit
47
-  notify: restart apache
51
+  notify: restart apache

Loading…
Cancel
Save