2017-08-28 15:31:54 +00:00
|
|
|
###
|
|
|
|
### Ansible NAS Features
|
|
|
|
###
|
|
|
|
# Set these options to true or false to toggle specific features
|
|
|
|
|
|
|
|
# BitTorrent
|
|
|
|
# If you plan to use Transmission with OpenVPN, you'll need to copy group_vars/vpn_credentials.yml.dist
|
|
|
|
# to group_vars/vpn_credentials.yml, then update it with your own settings.
|
2018-08-09 22:25:40 +00:00
|
|
|
transmission_with_openvpn_enabled: false
|
2018-09-21 22:42:16 +00:00
|
|
|
transmission_enabled: false
|
2017-08-28 15:31:54 +00:00
|
|
|
|
2018-09-22 23:58:59 +00:00
|
|
|
# Plex
|
|
|
|
plex_enabled: false
|
2018-09-23 19:20:10 +00:00
|
|
|
tautulli_enabled: false
|
2018-09-22 23:58:59 +00:00
|
|
|
|
2018-11-11 04:15:03 +00:00
|
|
|
# Emby
|
|
|
|
emby_enabled: false
|
2018-09-22 23:58:59 +00:00
|
|
|
|
2017-08-28 15:31:54 +00:00
|
|
|
# Media Sourcing
|
2018-09-21 22:42:16 +00:00
|
|
|
sonarr_enabled: false
|
2018-04-08 22:29:25 +00:00
|
|
|
sickrage_enabled: false
|
2017-08-28 15:31:54 +00:00
|
|
|
couchpotato_enabled: false
|
2018-09-21 22:42:16 +00:00
|
|
|
radarr_enabled: false
|
2017-08-28 15:31:54 +00:00
|
|
|
|
|
|
|
# System Management
|
|
|
|
portainer_enabled: true
|
|
|
|
glances_enabled: true
|
2018-09-21 22:42:16 +00:00
|
|
|
stats_enabled: false
|
2017-08-28 15:31:54 +00:00
|
|
|
|
|
|
|
# Backup & Restore
|
|
|
|
duplicati_enabled: true
|
2018-09-21 22:37:53 +00:00
|
|
|
nextcloud_enabled: false
|
2018-10-02 22:03:56 +00:00
|
|
|
nginx_enabled: true # if you enable nginx, you'll need to map ports 80 and 443 on your router to your Ansible-NAS
|
2017-08-28 15:31:54 +00:00
|
|
|
|
2018-04-10 21:57:28 +00:00
|
|
|
# IRC bouncer
|
|
|
|
znc_enabled: false
|
|
|
|
|
2017-11-21 22:18:35 +00:00
|
|
|
|
2017-08-28 15:31:54 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
### General
|
|
|
|
###
|
|
|
|
# Sets the hostname of your Ansible NAS
|
|
|
|
ansible_nas_hostname: bender
|
|
|
|
|
2018-11-12 22:30:13 +00:00
|
|
|
# Sets the timezone for your Ansible NAS
|
|
|
|
# You can find a list here https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
|
|
# Don't use the ones marked as Deprecated
|
|
|
|
ansible_nas_timezone: Etc/UTC
|
|
|
|
|
2017-08-28 15:31:54 +00:00
|
|
|
# Update all apt packages when playbook is run
|
|
|
|
keep_packages_updated: false
|
|
|
|
|
|
|
|
# Will be added to the docker group to give user command line access to docker
|
|
|
|
ansible_nas_user: david
|
|
|
|
|
2018-10-02 22:03:56 +00:00
|
|
|
# Your email address, used for LetsEncrypt SSL certs
|
|
|
|
ansible_nas_email: me@email.com
|
|
|
|
|
2018-04-08 22:29:25 +00:00
|
|
|
###
|
|
|
|
### Docker
|
|
|
|
###
|
2017-08-28 15:31:54 +00:00
|
|
|
# Where you want Docker to store its images and container data.
|
|
|
|
docker_home: /mnt/Volume2/docker
|
|
|
|
|
2018-04-08 22:29:25 +00:00
|
|
|
# Docker storage driver, see https://docs.docker.com/storage/storagedriver/select-storage-driver/#supported-backing-filesystems
|
|
|
|
# You'll need to change this if your docker_home isn't on zfs and Docker won't start (you'll probably want overlay2 instead)
|
|
|
|
docker_storage_driver: zfs
|
2017-08-28 15:31:54 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
### Samba
|
|
|
|
###
|
|
|
|
# The location where all shares will be created by default. Can be overridden on a per-share basis.
|
2018-04-08 23:01:59 +00:00
|
|
|
# This path will be mounted to backup containers, Duplicati
|
2017-08-28 15:31:54 +00:00
|
|
|
samba_shares_root: /mnt/Volume3
|
|
|
|
|
2017-08-28 21:10:19 +00:00
|
|
|
# Where stuff downloaded will be stored
|
|
|
|
downloads_root: "{{ samba_shares_root }}/downloads"
|
|
|
|
|
|
|
|
# Where your movies are stored
|
|
|
|
movies_root: "{{ samba_shares_root }}/movies"
|
|
|
|
|
|
|
|
# Where your TV episodes are stored
|
|
|
|
tv_root: "{{ samba_shares_root }}/tv"
|
|
|
|
|
|
|
|
# Where torrent files are stored (picked up by Transmission for downloading)
|
|
|
|
torrents_root: "{{ samba_shares_root }}/torrents"
|
|
|
|
|
2017-08-28 15:31:54 +00:00
|
|
|
# The account used when Samba shares are accessed. Shouldn't need to change this unless you want to
|
|
|
|
# mess with Samba user permissions.
|
|
|
|
samba_guest_account: nobody
|
|
|
|
|
|
|
|
# Shares you want published over Samba.
|
2017-08-28 21:10:19 +00:00
|
|
|
samba_shares:
|
2017-08-28 15:31:54 +00:00
|
|
|
- name: downloads
|
|
|
|
comment: 'Stuff downloaded'
|
|
|
|
guest_ok: yes
|
|
|
|
public: yes
|
|
|
|
writable: yes
|
2017-08-28 21:10:19 +00:00
|
|
|
path: "{{ downloads_root }}"
|
2017-08-28 15:31:54 +00:00
|
|
|
|
|
|
|
- name: movies
|
|
|
|
comment: 'Movies'
|
|
|
|
guest_ok: yes
|
|
|
|
public: yes
|
|
|
|
writable: yes
|
2017-08-28 21:10:19 +00:00
|
|
|
path: "{{ movies_root }}"
|
2017-08-28 15:31:54 +00:00
|
|
|
|
|
|
|
- name: tv
|
|
|
|
comment: 'TV Episodes'
|
|
|
|
guest_ok: yes
|
|
|
|
public: yes
|
|
|
|
writable: yes
|
2017-08-28 21:10:19 +00:00
|
|
|
path: "{{ tv_root }}"
|
2017-08-28 15:31:54 +00:00
|
|
|
|
|
|
|
- name: dump
|
|
|
|
comment: 'File dump'
|
|
|
|
guest_ok: yes
|
|
|
|
public: yes
|
|
|
|
writable: yes
|
|
|
|
path: "{{ samba_shares_root }}/dump"
|
|
|
|
|
|
|
|
- name: games
|
|
|
|
comment: 'Games'
|
|
|
|
guest_ok: yes
|
|
|
|
public: yes
|
|
|
|
writable: yes
|
|
|
|
path: "{{ samba_shares_root }}/games"
|
|
|
|
|
|
|
|
- name: photos
|
|
|
|
comment: 'Pictures'
|
|
|
|
guest_ok: yes
|
|
|
|
public: yes
|
|
|
|
writable: yes
|
|
|
|
path: "{{ samba_shares_root }}/photos"
|
|
|
|
|
2018-10-02 22:03:56 +00:00
|
|
|
###
|
|
|
|
### Nextcloud
|
|
|
|
###
|
|
|
|
|
|
|
|
# Used by the nginx container to determine what hostname to retrieve an SSL cert for
|
|
|
|
# Ensure that this DNS name is registered and points to your external IP address
|
|
|
|
nextcloud_external_hostname: external.hostname.com
|
|
|
|
|
2017-08-28 15:31:54 +00:00
|
|
|
##################################################################
|
|
|
|
###### You shouldn't need to edit anything below this point ######
|
|
|
|
##################################################################
|
|
|
|
|
|
|
|
###
|
|
|
|
### Transmission
|
|
|
|
###
|
|
|
|
transmission_config_directory: "{{ docker_home }}/transmission/config"
|
2017-08-28 21:10:19 +00:00
|
|
|
transmission_download_directory: "{{ downloads_root }}"
|
|
|
|
transmission_watch_directory: "{{ torrents_root }}"
|
2017-08-28 15:31:54 +00:00
|
|
|
transmission_user_id: 0
|
|
|
|
transmission_group_id: 0
|
|
|
|
transmission_local_network: "192.168.1.0/24"
|
|
|
|
|
|
|
|
|
2018-09-23 19:20:10 +00:00
|
|
|
###
|
|
|
|
### Plex
|
|
|
|
###
|
|
|
|
plex_config_directory: "{{ docker_home }}/plex/config"
|
|
|
|
plex_movies_directory: "{{ movies_root }}"
|
|
|
|
plex_tv_directory: "{{ tv_root }}"
|
|
|
|
plex_user_id: 0
|
|
|
|
plex_group_id: 0
|
|
|
|
|
2018-11-11 04:15:03 +00:00
|
|
|
###
|
|
|
|
### Emby
|
|
|
|
###
|
|
|
|
emby_config_directory: "{{ docker_home }}/emby/config"
|
|
|
|
emby_movies_directory: "{{ movies_root }}"
|
|
|
|
emby_tv_directory: "{{ tv_root }}"
|
|
|
|
emby_user_id: 0
|
|
|
|
emby_group_id: 0
|
2018-09-23 19:20:10 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
### Tautulli
|
|
|
|
###
|
|
|
|
tautulli_config_directory: "{{ docker_home }}/tautulli/config"
|
|
|
|
tautulli_user_id: 0
|
|
|
|
tautulli_group_id: 0
|
|
|
|
|
|
|
|
|
2017-08-28 15:31:54 +00:00
|
|
|
###
|
|
|
|
### Duplicati
|
|
|
|
###
|
|
|
|
duplicati_data_directory: "{{ docker_home }}/duplicati/config"
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
### Sonarr
|
|
|
|
###
|
|
|
|
sonarr_data_directory: "{{ docker_home }}/sonarr/config"
|
2017-08-28 21:10:19 +00:00
|
|
|
sonarr_tv_directory: "{{ tv_root }}"
|
|
|
|
sonarr_download_directory: "{{ downloads_root }}"
|
2017-08-28 15:31:54 +00:00
|
|
|
sonarr_user_id: 0
|
|
|
|
sonarr_group_id: 0
|
|
|
|
|
|
|
|
|
2018-04-10 21:57:28 +00:00
|
|
|
###
|
|
|
|
### Radarr
|
|
|
|
###
|
|
|
|
radarr_movies_directory: "{{ movies_root }}"
|
|
|
|
radarr_download_directory: "{{ downloads_root }}"
|
|
|
|
radarr_data_directory: "{{ docker_home }}/radarr"
|
|
|
|
radarr_user_id: 0
|
|
|
|
radarr_group_id: 0
|
|
|
|
|
|
|
|
|
2017-08-28 21:10:19 +00:00
|
|
|
###
|
|
|
|
### Couchpotato
|
|
|
|
###
|
|
|
|
couchpotato_config_directory: "{{ docker_home }}/couchpotato/config"
|
|
|
|
couchpotato_movies_directory: "{{ movies_root }}"
|
|
|
|
couchpotato_downloads_directory: "{{ downloads_root }}"
|
|
|
|
couchpotato_torrents_directory: "{{ torrents_root }}"
|
|
|
|
couchpotato_user_id: 0
|
|
|
|
couchpotato_group_id: 0
|
|
|
|
|
|
|
|
|
2017-11-21 22:18:35 +00:00
|
|
|
###
|
|
|
|
### Sickrage
|
|
|
|
###
|
|
|
|
sickrage_config_directory: "{{ docker_home }}/sickrage/config"
|
|
|
|
sickrage_tv_directory: "{{ tv_root }}"
|
|
|
|
sickrage_downloads_directory: "{{ downloads_root }}"
|
|
|
|
sickrage_user_id: 0
|
|
|
|
sickrage_group_id: 0
|
|
|
|
|
|
|
|
|
2017-08-28 15:31:54 +00:00
|
|
|
###
|
|
|
|
### OpenVPN
|
|
|
|
###
|
|
|
|
openvpn_config_directory: "{{ docker_home }}/openvpn"
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
### Portainer
|
|
|
|
###
|
|
|
|
portainer_data_directory: "{{ docker_home }}/portainer/config"
|
|
|
|
|
|
|
|
|
2017-11-21 22:18:35 +00:00
|
|
|
###
|
|
|
|
### ZNC
|
|
|
|
###
|
|
|
|
znc_data_directory: "{{ docker_home }}/znc"
|
|
|
|
znc_user_id: 0
|
|
|
|
znc_group_id: 0
|
2018-04-07 10:29:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
###
|
2018-09-23 19:20:10 +00:00
|
|
|
### Stats
|
2018-04-07 10:29:22 +00:00
|
|
|
###
|
2018-04-08 22:29:25 +00:00
|
|
|
telegraf_data_directory: "{{ docker_home }}/telegraf"
|
2018-04-07 10:29:22 +00:00
|
|
|
influxdb_data_directory: "{{ docker_home }}/influxdb"
|
2018-04-08 22:29:25 +00:00
|
|
|
grafana_data_directory: "{{ docker_home }}/grafana"
|
2018-04-10 21:57:28 +00:00
|
|
|
stat_collection_interval: 15s
|
2018-09-21 22:37:53 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
### Nextcloud
|
|
|
|
###
|
|
|
|
nextcloud_data_directory: "{{ docker_home }}/nextcloud"
|
2018-10-06 20:26:48 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
### nginx
|
|
|
|
###
|
|
|
|
nginx_data_directory: "{{ docker_home }}/nginx"
|