Quellcode durchsuchen

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

Justin Plock vor 10 Jahren
Ursprung
Commit
8928993772
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3
    3
      roles/webmail/tasks/roundcube.yml

+ 3
- 3
roles/webmail/tasks/roundcube.yml Datei anzeigen

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

Laden…
Abbrechen
Speichern