Explorar el Código

Two small apache-related fixes

Luke Cyca hace 11 años
padre
commit
2f145ce543
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1
    1
      roles/common/tasks/main.yml
  2. 2
    2
      roles/webmail/tasks/roundcube.yml

+ 1
- 1
roles/common/tasks/main.yml Ver fichero

@@ -41,7 +41,7 @@
41 41
   service: name=ntp state=started enabled=yes
42 42
 
43 43
 - name: Disable default Apache site
44
-  command: a2dissite default removes=/etc/apache2/sites-enabled/default
44
+  command: a2dissite 000-default removes=/etc/apache2/sites-enabled/000-default
45 45
   notify: restart apache
46 46
 
47 47
 - name: Enable Apache headers module

+ 2
- 2
roles/webmail/tasks/roundcube.yml Ver fichero

@@ -7,7 +7,7 @@
7 7
 - name: Configure roundcube
8 8
   copy: src=etc_roundcube_main.inc.php dest=/etc/roundcube/main.inc.php group=www-data owner=root mode=640 force=yes
9 9
 
10
-- name: Enable roundcube site 
11
-  command: a2ensite roundcube
10
+- name: Enable roundcube site
11
+  command: a2ensite roundcube creates=/etc/apache2/sites-enabled/roundcube
12 12
   notify: restart apache
13 13
 

Loading…
Cancelar
Guardar