--- - 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