Make the mode of the base path configurable

development
Stuart Mumford 6 years ago
parent e8c78c1572
commit f8ebd94d08
No known key found for this signature in database
GPG Key ID: 60BC5C03E6276769

@ -17,6 +17,7 @@ matrix_user_uid: 991
matrix_user_gid: 991 matrix_user_gid: 991
matrix_base_data_path: "/matrix" matrix_base_data_path: "/matrix"
matrix_base_data_path_mode: "750"
matrix_static_files_base_path: "{{ matrix_base_data_path }}/static-files" matrix_static_files_base_path: "{{ matrix_base_data_path }}/static-files"
@ -34,4 +35,4 @@ run_start: true
run_register_user: true run_register_user: true
run_import_sqlite_db: true run_import_sqlite_db: true
run_import_media_store: true run_import_media_store: true
run_self_check: true run_self_check: true

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

Loading…
Cancel
Save