Przeglądaj źródła

Two small apache-related fixes

Luke Cyca 11 lat temu
rodzic
commit
2f145ce543

+ 1
- 1
roles/common/tasks/main.yml Wyświetl plik

41
   service: name=ntp state=started enabled=yes
41
   service: name=ntp state=started enabled=yes
42
 
42
 
43
 - name: Disable default Apache site
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
   notify: restart apache
45
   notify: restart apache
46
 
46
 
47
 - name: Enable Apache headers module
47
 - name: Enable Apache headers module

+ 2
- 2
roles/webmail/tasks/roundcube.yml Wyświetl plik

7
 - name: Configure roundcube
7
 - name: Configure roundcube
8
   copy: src=etc_roundcube_main.inc.php dest=/etc/roundcube/main.inc.php group=www-data owner=root mode=640 force=yes
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
   notify: restart apache
12
   notify: restart apache
13
 
13
 

Ładowanie…
Anuluj
Zapisz