Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.3 KiB

---
- name: Create directories
file: path={{ item.dir }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
loop:
- dir: "{{ jitsi_root_dir }}"
mode: 755
- dir: "{{ jitsi_root_dir }}/.m2"
owner: "{{ jitsi_user }}"
group: "{{ jitsi_user }}"
- dir: "{{ jitsi_root_dir }}/tmp"
owner: "{{ jitsi_user }}"
group: "{{ jitsi_user }}"
mode: 700
- dir: "{{ jitsi_root_dir }}/tmp/jicofo"
owner: "{{ jitsi_user }}"
- dir: "{{ jitsi_root_dir }}/tmp/jigasi"
owner: "{{ jitsi_user }}"
- dir: "{{ jitsi_root_dir }}/tmp/meet"
owner: "{{ jitsi_user }}"
- dir: "{{ jitsi_root_dir }}/videobridge"
- dir: "{{ jitsi_root_dir }}/jicofo"
- dir: "{{ jitsi_root_dir }}/jigasi"
- dir: "{{ jitsi_root_dir }}/meet"
- dir: "{{ jitsi_root_dir }}/meta"
mode: 700
- dir: "{{ jitsi_root_dir }}/archives"
mode: 700
- dir: "{{ jitsi_root_dir }}/etc/videobridge"
owner: "{{ jitsi_user }}"
group: "{{ jitsi_user }}"
mode: 700
- dir: "{{ jitsi_root_dir }}/etc/jicofo"
owner: "{{ jitsi_user }}"
group: "{{ jitsi_user }}"
mode: 700
- dir: "{{ jitsi_root_dir }}/etc/jigasi"
owner: "{{ jitsi_user }}"
group: "{{ jitsi_user }}"
mode: 700
tags: jitsi