Ver código fonte

add cgi module for cgit

Mike Hostetler 11 anos atrás
pai
commit
8ec36ca875
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5
    1
      roles/git/tasks/cgit.yml

+ 5
- 1
roles/git/tasks/cgit.yml Ver arquivo

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

Carregando…
Cancelar
Salvar