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

23 lines
563 B
YAML
Raw Normal View History

2020-03-23 15:19:15 +00:00
---
2022-07-18 08:22:05 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/../matrix-base/tasks/util/ensure_openssl_installed.yml"
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)
#