Merge branch 'revert-1d8efba8' into 'main'
feat: move nfs to host - revert See merge request ansible/ans-jellyfin!1
This commit is contained in:
commit
a7c4a82986
1 changed files with 14 additions and 1 deletions
|
|
@ -27,6 +27,16 @@
|
|||
group: "blackbeard"
|
||||
mode: "0775"
|
||||
|
||||
# create nfs mount
|
||||
- name: "create media volume"
|
||||
community.docker.docker_volume:
|
||||
driver: "local"
|
||||
driver_options:
|
||||
type: "nfs4"
|
||||
o: "rw,relatime,vers=4.2,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,nconnect=2,timeo=600,retrans=2,sec=sys,local_lock=none,addr=192.168.10.41"
|
||||
device: ":/srv/nfs/media"
|
||||
volume_name: "media"
|
||||
|
||||
# docker pull jellyfin
|
||||
- name: "run jellyfin"
|
||||
community.docker.docker_container:
|
||||
|
|
@ -63,7 +73,7 @@
|
|||
volumes:
|
||||
- "/mnt/jellyfin/cache:/cache"
|
||||
- "/mnt/jellyfin/config:/config"
|
||||
- "/mnt/media:/mnt/media"
|
||||
- "media:/mnt/media/"
|
||||
|
||||
env:
|
||||
|
||||
|
|
@ -71,5 +81,8 @@
|
|||
PUID: "{{ jellyfin_puid }}"
|
||||
PGID: "{{ blackbeard_guid }}"
|
||||
|
||||
# jellyfin
|
||||
JELLYFIN_CACHE_DIR: "/cache"
|
||||
|
||||
# global
|
||||
TZ: "{{ timezone }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue