Move airsonic to ansible role

This commit is contained in:
David Stephens 2021-01-14 12:50:44 +00:00
parent 0abe029523
commit d4fc84a4aa
4 changed files with 16 additions and 15 deletions

View file

@ -41,7 +41,6 @@ youtubedlmaterial_enabled: false
mylar_enabled: false
# Music
airsonic_enabled: false
mymediaforalexa_enabled: false
# News
@ -505,16 +504,6 @@ miniflux_admin_username: admin
miniflux_admin_password: supersecure
miniflux_port: "8070"
###
### Airsonic
###
airsonic_available_externally: "false"
airsonic_data_directory: "{{ docker_home }}/airsonic"
airsonic_music_directory: "{{ music_root }}"
airsonic_podcasts_directory: "{{ podcasts_root }}"
airsonic_port: "4040"
###
### CloudCmd
###

View file

@ -43,6 +43,11 @@
###
### Applications
###
- role: airsonic
tags:
- airsonic
when: (airsonic_enabled | default(False))
- role: emby
tags:
- emby
@ -182,10 +187,6 @@
when: (guacamole_enabled | default(False))
tags: guacamole
- import_tasks: tasks/airsonic.yml
when: (airsonic_enabled | default(False))
tags: airsonic
- import_tasks: tasks/cloudflare_ddns.yml
when: (cloudflare_ddns_enabled | default(False))
tags: cloudflare_ddns

View file

@ -0,0 +1,11 @@
---
airsonic_enabled: false
airsonic_available_externally: "false"
# directories
airsonic_data_directory: "{{ docker_home }}/airsonic"
airsonic_music_directory: "{{ music_root }}"
airsonic_podcasts_directory: "{{ podcasts_root }}"
# network
airsonic_port: "4040"