Merge pull request #76 from Cadair/add_dir_mode

Make the mode of the base path configurable
This commit is contained in:
Slavi Pantaleev 2019-01-14 17:16:59 +02:00 committed by GitHub
commit 6e1be4b85d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ matrix_user_uid: 991
matrix_user_gid: 991
matrix_base_data_path: "/matrix"
matrix_base_data_path_mode: "750"
matrix_static_files_base_path: "{{ matrix_base_data_path }}/static-files"

View File

@ -17,7 +17,7 @@
file:
path: "{{ item }}"
state: directory
mode: 0750
mode: "{{ matrix_base_data_path_mode }}"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_username }}"
with_items: