ソースを参照

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

Justin Plock 11年前
コミット
8928993772
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更3行の追加3行の削除
  1. 3
    3
      roles/webmail/tasks/roundcube.yml

+ 3
- 3
roles/webmail/tasks/roundcube.yml ファイルの表示

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

読み込み中…
キャンセル
保存