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

23 lines
563 B
YAML
Raw Normal View History

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