Przeglądaj źródła

Merge pull request #215 from squarepegsys/master

add cgi module for cgit
Luke Cyca 11 lat temu
rodzic
commit
0b516d484f
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5
    1
      roles/git/tasks/cgit.yml

+ 5
- 1
roles/git/tasks/cgit.yml Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz