Browse Source

Two small apache-related fixes

Luke Cyca 10 years ago
parent
commit
2f145ce543
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      roles/common/tasks/main.yml
  2. 2
    2
      roles/webmail/tasks/roundcube.yml

+ 1
- 1
roles/common/tasks/main.yml View File

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

@@ -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…
Cancel
Save