Kaynağa Gözat

Merge pull request #76 from Cadair/add_dir_mode

Make the mode of the base path configurable
pull/73/head
Slavi Pantaleev 7 yıl önce
committed by GitHub
ebeveyn
işleme
6e1be4b85d
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +2
    -1
      roles/matrix-base/defaults/main.yml
  2. +1
    -1
      roles/matrix-base/tasks/setup_matrix_base.yml

+ 2
- 1
roles/matrix-base/defaults/main.yml Dosyayı Görüntüle

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

@@ -34,4 +35,4 @@ run_start: true
run_register_user: true
run_import_sqlite_db: true
run_import_media_store: true
run_self_check: true
run_self_check: true

+ 1
- 1
roles/matrix-base/tasks/setup_matrix_base.yml Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet