2024-02-10 21:36:48 +00:00
|
|
|
# vim: ft=yaml.ansible
|
|
|
|
# code: language=ansible
|
|
|
|
---
|
|
|
|
- name: Create subdirectories for Jitsi Meet data
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ apps_data_root }}/jitsi/data/{{ dir }}"
|
|
|
|
owner: root
|
2024-03-02 21:36:05 +00:00
|
|
|
group: root
|
2024-02-10 21:36:48 +00:00
|
|
|
mode: u=rwx,g=rx,o=rx
|
|
|
|
state: directory
|
|
|
|
loop:
|
|
|
|
- web/transcripts
|
|
|
|
- prosody
|
|
|
|
loop_control:
|
|
|
|
loop_var: dir
|
|
|
|
|
|
|
|
- name: Create subdirectories for Jitsi Meet Prosody data
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ apps_data_root }}/jitsi/data/{{ dir }}"
|
|
|
|
owner: '101'
|
|
|
|
group: root
|
|
|
|
mode: u=rwx,g=rx,o=rx
|
|
|
|
state: directory
|
|
|
|
loop:
|
|
|
|
- prosody/plugins
|
|
|
|
- prosody/config
|
|
|
|
loop_control:
|
|
|
|
loop_var: dir
|
|
|
|
|
|
|
|
- name: Copy user registration script for Jitsi Meet
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: jitsi/register.sh
|
|
|
|
dest: "{{ apps_data_root }}/jitsi/register.sh"
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: u=rwx,g=rx,o=rx
|