Browse Source

The group and mode of debian-db.php need to be readable by apache

Justin Plock 10 years ago
parent
commit
8928993772
No account linked to committer's email address
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      roles/webmail/tasks/roundcube.yml

+ 3
- 3
roles/webmail/tasks/roundcube.yml View File

@@ -6,10 +6,10 @@
6 6
     - roundcube-pgsql
7 7
 
8 8
 - name: Configure Roundcube database
9
-  template: src={{ item.src }} dest={{ item.dest }} group=root owner=root force=yes
9
+  template: src={{ item.src }} dest={{ item.dest }} group={{ item.group }} mode={{ item.mode }} owner=root force=yes
10 10
   with_items:
11
-  - { src: 'etc_dbconfig-common_roundcube.conf.j2', dest: '/etc/dbconfig-common/roundcube.conf' }
12
-  - { src: 'etc_roundcube_debian-db.php.j2',        dest: '/etc/roundcube/debian-db.php' }
11
+  - { src: 'etc_dbconfig-common_roundcube.conf.j2', dest: '/etc/dbconfig-common/roundcube.conf', group: 'root',     mode: 600 }
12
+  - { src: 'etc_roundcube_debian-db.php.j2',        dest: '/etc/roundcube/debian-db.php',        group: 'www-data', mode: 640 }
13 13
   notify: set roundcube password
14 14
 
15 15
 - name: Download carddav plugin release

Loading…
Cancel
Save