36 lines
837 B
YAML
36 lines
837 B
YAML
|
# 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
|
||
|
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
|