matrix: Add option to disable SELinux related tasks

This commit is contained in:
saibotk 2021-09-21 04:55:09 +02:00
parent f6941eebc6
commit 08225cb5ec
Signed by: saibotk
GPG key ID: 67585F0065E261D5
2 changed files with 5 additions and 0 deletions

View file

@ -85,3 +85,6 @@ matrix_elementweb_integrations_jitsi_widget_url: "https://scalar.vector.im/api/w
# Element Web public room directory server(s)
matrix_elementweb_roomdir_servers: ['matrix.org']
# Enable or disable selinux handling
matrix_selinux_enabled: true

View file

@ -29,6 +29,8 @@
- "{{ matrix_database_location }}"
- "{{ matrix_data_location }}"
- "{{ matrix_elementweb_location }}"
when:
- matrix_selinux_enabled
become: true
- name: Create install directory