ansible-nas/nas.yml
2022-07-23 18:46:12 +02:00

417 lines
8.5 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: booksonic
tags:
- booksonic
when: (booksonic_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: dashy
tags:
- dashy
when: (dashy_enabled | default(False))
- role: deluge
tags:
- deluge
when: (deluge_enabled | default(False))
- role: dokuwiki
tags:
- dokuwiki
when: (dokuwiki_enabled | default(False))
- role: duplicacy
tags:
- duplicacy
when: (duplicacy_enabled | default(False))
- role: duplicati
tags:
- duplicati
when: (duplicati_enabled | default(False))
- role: emby
tags:
- emby
when: (emby_enabled | default(False))
- role: esphome
tags:
- esphome
when: (esphome_enabled | default(False))
- role: firefly
tags:
- firefly
when: (firefly_enabled | default(False))
- role: freshrss
tags:
- freshrss
when: (freshrss_enabled | default(False))
- role: get_iplayer
tags:
- get_iplayer
when: (get_iplayer_enabled | default(False))
- role: gitea
tags:
- gitea
when: (gitea_enabled | default(False))
- role: gitlab
tags:
- gitlab
when: (gitlab_enabled | default(False))
- role: glances
tags:
- glances
when: (glances_enabled | default(False))
- role: gotify
tags:
- gotify
when: (gotify_enabled | default(False))
- role: healthchecks.io
tags:
- healthchecks.io
when: (healthchecks_enabled | default(False))
- role: heimdall
tags:
- heimdall
when: (heimdall_enabled | default(False))
- role: homeassistant
tags:
- homeassistant
when: (homeassistant_enabled | default(False))
- role: jellyfin
tags:
- jellyfin
when: (jellyfin_enabled | default(False))
- role: lidarr
tags:
- lidarr
when: (lidarr_enabled | default(False))
- role: mealie
tags:
- mealie
when: (mealie_enabled | default(False))
- role: minecraft-server
tags:
- minecraft-server
when: (minecraft_server_enabled | default(False))
- role: minidlna
tags:
- minidlna
when: (minidlna_enabled | default(False))
- role: miniflux
tags:
- miniflux
when: (miniflux_enabled | default(False))
- role: mosquitto
tags:
- mosquitto
when: (mosquitto_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: navidrome
tags:
- navidrome
when: (navidrome_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: octoprint
tags:
- octoprint
when: (octoprint_enabled | default(False))
- role: organizr
tags:
- organizr
when: (organizr_enabled | default(False))
- role: overseerr
tags:
- overseerr
when: (overseerr_enabled | default(False))
- role: paperless_ng
tags:
- paperless_ng
when: (paperless_ng_enabled | default(False))
- role: piwigo
tags:
- piwigo
when: (piwigo_enabled | default(False))
- role: portainer
tags:
- portainer
when: (portainer_enabled | default(False))
- role: prowlarr
tags:
- prowlarr
when: (prowlarr_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: pytivo
tags:
- pytivo
when: (pytivo_enabled | default(False))
- role: radarr
tags:
- radarr
when: (radarr_enabled | default(False))
- role: sabnzbd
tags:
- sabnzbd
when: (sabnzbd_enabled | default(False))
- role: route53_ddns
tags:
- route53_ddns
when: (route53_ddns_enabled | default(False))
- role: rssbridge
tags:
- rssbridge
when: (rssbridge_enabled | default(False))
- role: sickchill
tags:
- sickchill
when: (sickchill_enabled | default(False))
- role: sonarr
tags:
- sonarr
when: (sonarr_enabled | default(False))
- role: speedtest-tracker
tags:
- speedtest-tracker
when: (speedtest_tracker_enabled | default(False))
- role: syncthing
tags:
- syncthing
when: (syncthing_enabled | default(False))
- role: tautulli
tags:
- tautulli
when: (tautulli_enabled | default(False))
- role: tiddlywiki
tags:
- tiddlywiki
when: (tiddlywiki_enabled | default(False))
- role: transmission
tags:
- transmission
when: (transmission_enabled | default(False))
- role: transmission-with-openvpn
tags:
- transmission_with_openvpn
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: youtubedlmaterial
tags:
- youtubedlmaterial
when: (youtubedlmaterial_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/timemachine.yml
when: (timemachine_enabled | default(False))
tags: timemachine
- 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/calibre.yml
when: (calibre_enabled | default(False))
tags: calibre
- import_tasks: tasks/openhab.yml
when: (openhab_enabled | default(False))
tags: openhab
- 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/virtual_desktop.yml
when: (virtual_desktop_enabled | default(False))
tags: virtual_desktop