fix permissions

This commit is contained in:
Aine 2022-04-03 00:49:57 +03:00
parent c1f34932c3
commit 5f0ece0c28
No known key found for this signature in database
GPG Key ID: 34969C908CCA2804
6 changed files with 18 additions and 0 deletions

View File

@ -32,6 +32,8 @@
template: template:
src: "{{ role_path }}/templates/jicofo/env.j2" src: "{{ role_path }}/templates/jicofo/env.j2"
dest: "{{ matrix_jitsi_jicofo_base_path }}/env" dest: "{{ matrix_jitsi_jicofo_base_path }}/env"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0640 mode: 0640
when: matrix_jitsi_enabled|bool when: matrix_jitsi_enabled|bool
@ -39,6 +41,8 @@
template: template:
src: "{{ role_path }}/templates/jicofo/{{ item }}.j2" src: "{{ role_path }}/templates/jicofo/{{ item }}.j2"
dest: "{{ matrix_jitsi_jicofo_config_path }}/{{ item }}" dest: "{{ matrix_jitsi_jicofo_config_path }}/{{ item }}"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0644 mode: 0644
with_items: with_items:
- sip-communicator.properties - sip-communicator.properties

View File

@ -32,6 +32,8 @@
template: template:
src: "{{ role_path }}/templates/jvb/{{ item }}.j2" src: "{{ role_path }}/templates/jvb/{{ item }}.j2"
dest: "{{ matrix_jitsi_jvb_config_path }}/{{ item }}" dest: "{{ matrix_jitsi_jvb_config_path }}/{{ item }}"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0644 mode: 0644
with_items: with_items:
- custom-sip-communicator.properties - custom-sip-communicator.properties
@ -42,6 +44,8 @@
template: template:
src: "{{ role_path }}/templates/jvb/env.j2" src: "{{ role_path }}/templates/jvb/env.j2"
dest: "{{ matrix_jitsi_jvb_base_path }}/env" dest: "{{ matrix_jitsi_jvb_base_path }}/env"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0640 mode: 0640
when: matrix_jitsi_enabled|bool when: matrix_jitsi_enabled|bool

View File

@ -33,6 +33,8 @@
template: template:
src: "{{ role_path }}/templates/prosody/env.j2" src: "{{ role_path }}/templates/prosody/env.j2"
dest: "{{ matrix_jitsi_prosody_base_path }}/env" dest: "{{ matrix_jitsi_prosody_base_path }}/env"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0640 mode: 0640
when: matrix_jitsi_enabled|bool when: matrix_jitsi_enabled|bool

View File

@ -34,6 +34,8 @@
template: template:
src: "{{ role_path }}/templates/web/env.j2" src: "{{ role_path }}/templates/web/env.j2"
dest: "{{ matrix_jitsi_web_base_path }}/env" dest: "{{ matrix_jitsi_web_base_path }}/env"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0640 mode: 0640
when: matrix_jitsi_enabled|bool when: matrix_jitsi_enabled|bool
@ -41,6 +43,8 @@
template: template:
src: "{{ role_path }}/templates/web/{{ item }}.j2" src: "{{ role_path }}/templates/web/{{ item }}.j2"
dest: "{{ matrix_jitsi_web_config_path }}/{{ item }}" dest: "{{ matrix_jitsi_web_config_path }}/{{ item }}"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0644 mode: 0644
with_items: with_items:
- custom-config.js - custom-config.js

View File

@ -41,6 +41,8 @@
template: template:
src: "{{ role_path }}/templates/{{ item }}.j2" src: "{{ role_path }}/templates/{{ item }}.j2"
dest: "{{ matrix_postgres_backup_path }}/{{ item }}" dest: "{{ matrix_postgres_backup_path }}/{{ item }}"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0640 mode: 0640
with_items: with_items:
- "env-postgres-backup" - "env-postgres-backup"

View File

@ -76,6 +76,8 @@
template: template:
src: "{{ role_path }}/templates/{{ item }}.j2" src: "{{ role_path }}/templates/{{ item }}.j2"
dest: "{{ matrix_postgres_base_path }}/{{ item }}" dest: "{{ matrix_postgres_base_path }}/{{ item }}"
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
mode: 0640 mode: 0640
with_items: with_items:
- "env-postgres-psql" - "env-postgres-psql"