32 lines
651 B
YAML
32 lines
651 B
YAML
|
---
|
||
|
- name: Create jellyfin-config directory
|
||
|
file:
|
||
|
path: "{{ jellyfin.config }}"
|
||
|
owner: "{{ puid }}"
|
||
|
group: "{{ pgid }}"
|
||
|
mode: '755'
|
||
|
state: directory
|
||
|
become: yes
|
||
|
|
||
|
- name: Create jellyfin-cache directory
|
||
|
file:
|
||
|
path: "{{ jellyfin.cache }}"
|
||
|
owner: "{{ puid }}"
|
||
|
group: "{{ pgid }}"
|
||
|
mode: '755'
|
||
|
state: directory
|
||
|
become: yes
|
||
|
|
||
|
- name: Create jellyfin media directories
|
||
|
file:
|
||
|
path: "{{ item }}"
|
||
|
owner: "{{ puid }}"
|
||
|
group: "{{ pgid }}"
|
||
|
mode: '755'
|
||
|
state: directory
|
||
|
become: yes
|
||
|
loop:
|
||
|
- "{{ jellyfin.media.tv }}"
|
||
|
- "{{ jellyfin.media.movies }}"
|
||
|
- "{{ jellyfin.media.music }}"
|