role separation
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
- name: Dir-jellyfin-config
|
||||
ansible.builtin.file:
|
||||
path: "{{ docker_homepath }}/config"
|
||||
owner: "{{ user }}"
|
||||
group: "{{ primary_group }}"
|
||||
state: directory
|
||||
mode: '0711'
|
||||
|
||||
- name: Dir-jellyfin-cache
|
||||
ansible.builtin.file:
|
||||
path: "{{ docker_homepath }}/cache"
|
||||
owner: "{{ user }}"
|
||||
group: "{{ primary_group }}"
|
||||
state: directory
|
||||
mode: '0711'
|
||||
|
||||
|
||||
- name: jellyfin
|
||||
community.docker.docker_container:
|
||||
name: jellyfin
|
||||
image: jellyfin/jellyfin:2024042215
|
||||
user: "{{ uid }}:{{ gid }}"
|
||||
volumes:
|
||||
- "/bigpool/tata/Music:/Music:ro"
|
||||
- "{{ docker_homepath }}/config:/config"
|
||||
- "{{ docker_homepath }}/cache:/cache"
|
||||
restart_policy: unless-stopped
|
||||
networks:
|
||||
- name: http
|
||||
Reference in New Issue
Block a user