matrix-docker-ansible-deploy/roles/matrix-jitsi/tasks/setup_jitsi_base.yml

23 lines
531 B
YAML
Raw Normal View History

2020-03-23 15:19:15 +00:00
---
2022-01-20 05:58:39 +00:00
- import_tasks: "{{ role_path }}/../matrix-base/tasks/util/ensure_openssl_installed.yml"
2020-03-23 15:19:15 +00:00
#
# Tasks related to setting up jitsi
#
- name: Ensure Matrix jitsi base path exists
file:
path: "{{ item.path }}"
state: directory
mode: 0750
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
2020-03-23 15:19:15 +00:00
with_items:
- { path: "{{ matrix_jitsi_base_path }}", when: true }
when: matrix_jitsi_enabled|bool and item.when
#
# Tasks related to getting rid of jitsi (if it was previously enabled)
#