소스 검색

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

Justin Plock 10 년 전
부모
커밋
8928993772
No account linked to committer's email address
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

Loading…
취소
저장