Merge branch 'master' into add-mylar

This commit is contained in:
David Stephens 2021-02-05 11:39:47 +00:00 committed by GitHub
commit 4821d8983a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 16 deletions

View file

@ -25,7 +25,6 @@ tautulli_enabled: false
# Media Sourcing
get_iplayer_enabled: false
jackett_enabled: false
minidlna_enabled: false
jellyfin_enabled: false
@ -422,14 +421,6 @@ timemachine_share_name: Data
timemachine_log_level: error
timemachine_port: "10445"
###
### MiniDLNA
###
minidlna_media_directory1: "{{ movies_root }}"
minidlna_media_directory2: "{{ tv_root }}"
minidlna_friendly_name: "{{ ansible_nas_hostname }}"
minidlna_port: "8201"
###
### get_iplayer
###

View file

@ -103,6 +103,11 @@
- lidarr
when: (lidarr_enabled | default(False))
- role: minidlna
tags:
- minidlna
when: (minidlna_enabled | default(False))
- role: mylar
tags:
- mylar
@ -238,10 +243,6 @@
when: (guacamole_enabled | default(False))
tags: guacamole
- import_tasks: tasks/minidlna.yml
when: (minidlna_enabled | default(False))
tags: minidlna
- import_tasks: tasks/get_iplayer.yml
when: (get_iplayer_enabled | default(False))
tags: get_iplayer

View file

@ -0,0 +1,15 @@
---
# enable or disable the application
minidlna_enabled: false
minidlna_available_externally: "false"
# directories
minidlna_media_directory1: "{{ movies_root }}"
minidlna_media_directory2: "{{ tv_root }}"
# network
minidlna_friendly_name: "{{ ansible_nas_hostname }}"
minidlna_port: "8201"
# specs
minidlna_memory: "1g"

View file

@ -1,3 +1,4 @@
---
- name: MiniDLNA Docker Container
docker_container:
name: minidlna
@ -10,7 +11,7 @@
MINIDLNA_MEDIA_DIR1: "/media1"
MINIDLNA_MEDIA_DIR2: "/media2"
MINIDLNA_FRIENDLY_NAME: "{{ minidlna_friendly_name }}"
MINIDLNA_PORT: "8201"
network_mode: host
MINIDLNA_PORT: "{{ minidlna_port }}"
restart_policy: unless-stopped
memory: 1g
network_mode: host
memory: "{{ minidlna_memory }}"