mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-15 00:17:10 +00:00
Move airsonic to ansible role
This commit is contained in:
parent
0abe029523
commit
d4fc84a4aa
4 changed files with 16 additions and 15 deletions
|
@ -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
|
||||
###
|
||||
|
|
9
nas.yml
9
nas.yml
|
@ -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
|
||||
|
|
11
roles/airsonic/defaults/main.yml
Normal file
11
roles/airsonic/defaults/main.yml
Normal 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"
|
Loading…
Reference in a new issue