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

25 lines
559 B
YAML
Raw Normal View History

2020-03-23 15:19:15 +00:00
---
- ansible.builtin.import_role:
name: custom/matrix-base
tasks_from: ensure_openssl_installed
2022-01-20 05:58:39 +00:00
2020-03-23 15:19:15 +00:00
#
# Tasks related to setting up jitsi
#
- name: Ensure Matrix jitsi base path exists
ansible.builtin.file:
2020-03-23 15:19:15 +00:00
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}
2022-07-18 08:22:05 +00:00
when: matrix_jitsi_enabled | bool and item.when
2020-03-23 15:19:15 +00:00
#
# Tasks related to getting rid of jitsi (if it was previously enabled)
#