ansible-nas/nas.yml

334 lines
6.9 KiB
YAML

---
- hosts: all
pre_tasks:
- import_tasks: tasks/users.yml
tags: users
roles:
###
### Requirements
###
- role: bertvv.samba
tags:
- samba
- skip_ansible_lint
- role: geerlingguy.nfs
tags:
- nfs
- skip_ansible_lint
- role: geerlingguy.docker
tags:
- docker
- skip_ansible_lint
###
### Ansible-NAS Roles
###
- role: ansible-nas-general
tags:
- ansible-nas-general
- ansible-nas
- role: ansible-nas-docker
tags:
- ansible-nas-docker
- ansible-nas
###
### Applications
###
- role: airsonic
tags:
- airsonic
when: (airsonic_enabled | default(False))
- role: bazarr
tags:
- bazarr
when: (bazarr_enabled | default(False))
- role: bitwarden
tags:
- bitwarden
when: (bitwarden_enabled | default(False))
- role: cloudcmd
tags:
- cloudcmd
when: (cloudcmd_enabled | default(False))
- role: cloudflare_ddns
tags:
- cloudflare_ddns
when: (cloudflare_ddns_enabled | default(False))
- role: couchpotato
tags:
- couchpotato
when: (couchpotato_enabled | default(False))
- role: deluge
tags:
- deluge
when: (deluge_enabled | default(False))
- role: duplicati
tags:
- duplicati
when: (duplicati_enabled | default(False))
- role: emby
tags:
- emby
when: (emby_enabled | default(False))
- role: firefly
tags:
- firefly
when: (firefly_enabled | default(False))
- role: gitea
tags:
- gitea
when: (gitea_enabled | default(False))
- role: get_iplayer
tags:
- get_iplayer
when: (get_iplayer_enabled | default(False))
- role: glances
tags:
- glances
when: (glances_enabled | default(False))
- role: gotify
tags:
- gotify
when: (gotify_enabled | default(False))
- role: heimdall
tags:
- heimdall
when: (heimdall_enabled | default(False))
- role: homeassistant
tags:
- homeassistant
when: (homeassistant_enabled | default(False))
- role: homebridge
tags:
- homebridge
when: (homebridge_enabled | default(False))
- role: jackett
tags:
- jackettfalse
when: (jackett_enabled | default(False))
- role: lidarr
tags:
- lidarr
when: (lidarr_enabled | default(False))
- role: minidlna
tags:
- minidlna
when: (minidlna_enabled | default(False))
- role: miniflux
tags:
- miniflux
when: (miniflux_enabled | default(False))
- role: mylar
tags:
- mylar
when: (mylar_enabled | default(False))
- role: mymediaforalexa
tags:
- mymediaforalexa
when: (mymediaforalexa_enabled | default(False))
- role: n8n
tags:
- n8n_enabled
when: (n8n_enabled | default(False))
- role: netbootxyz
tags:
- netbootxyz
when: (netbootxyz_enabled | default(False))
- role: netdata
tags:
- netdata
when: (netdata_enabled | default(False))
- role: nextcloud
tags:
- nextcloud
when: (nextcloud_enabled | default(False))
- role: nzbget
tags:
- nzbget
when: (nzbget_enabled | default(False))
- role: organizr
tags:
- organizr
when: (organizr_enabled | default(False))
- role: portainer
tags:
- portainer
when: (portainer_enabled | default(False))
- role: pyload
tags:
- pyload
when: (pyload_enabled | default(False))
- role: ombi
tags:
- ombi
when: (ombi_enabled | default(False))
- role: plex
tags:
- plex
when: (plex_enabled | default(False))
- role: radarr
tags:
- radarr
when: (radarr_enabled | default(False))
- role: radarr
tags:
- radarr
when: (radarr_enabled | default(False))
- role: sickchill
tags:
- sickchill
when: (sickchill_enabled | default(False))
- role: sonarr
tags:
- sonarr
when: (sonarr_enabled | default(False))
- role: syncthing
tags:
- syncthing
when: (syncthing_enabled | default(False))
- role: tautulli
tags:
- tautulli
when: (tautulli_enabled | default(False))
- role: transmission
tags:
- transmission
when: (transmission_enabled | default(False))
- role: transmission-with-openvpn
tags:
- transmission_with_openvpn_enabled
when: (transmission_with_openvpn_enabled | default(False))
- role: utorrent
tags:
- utorrent
when: (utorrent_enabled | default(False))
- role: traefik
tags:
- traefik
when: (traefik_enabled | default(False))
- role: watchtower
tags:
- watchtower
when: (watchtower_enabled | default(False))
- role: znc
tags:
- znc
when: (znc_enabled | default(False))
tasks:
- import_tasks: tasks/thelounge.yml
when: (thelounge_enabled | default(False))
tags: thelounge
- import_tasks: tasks/gitlab.yml
when: (gitlab_enabled | default(False))
tags: gitlab
- import_tasks: tasks/timemachine.yml
when: (timemachine_enabled | default(False))
tags: timemachine
- import_tasks: tasks/stats.yml
when: (stats_enabled | default(False))
tags: stats
- import_tasks: tasks/guacamole.yml
when: (guacamole_enabled | default(False))
tags: guacamole
- import_tasks: tasks/joomla.yml
when: (joomla_enabled | default(False))
tags: joomla
- import_tasks: tasks/wallabag.yml
when: (wallabag_enabled | default(False))
tags: wallabag
- import_tasks: tasks/mosquitto.yml
when: (mosquitto_enabled | default(False))
tags: mosquitto
- import_tasks: tasks/calibre.yml
when: (calibre_enabled | default(False))
tags: calibre
- import_tasks: tasks/openhab.yml
when: (openhab_enabled | default(False))
tags: openhab
- import_tasks: tasks/jellyfin.yml
when: (jellyfin_enabled | default(False))
tags: jellyfin
- import_tasks: tasks/krusader.yml
when: (krusader_enabled | default(False))
tags: krusader
- import_tasks: tasks/ubooquity.yml
when: (ubooquity_enabled | default(False))
tags: ubooquity
- import_tasks: tasks/youtubedlmaterial.yml
when: (youtubedlmaterial_enabled | default(False))
tags: youtubedlmaterial
- import_tasks: tasks/virtual_desktop.yml
when: (virtual_desktop_enabled | default(False))
tags: virtual_desktop
- import_tasks: tasks/pytivo.yml
when: (pytivo_enabled | default(False))
tags: pytivo