ansible-nas/group_vars/all.yml

539 lines
12 KiB
YAML
Raw Normal View History

## ._____. .__
## _____ ____ _____|__\_ |__ | | ____ ____ _____ ______
## \__ \ / \ / ___/ || __ \| | _/ __ \ ______ / \\__ \ / ___/
## / __ \| | \\___ \| || \_\ \ |_\ ___/ /_____/ | | \/ __ \_\___ \
## (____ /___| /____ >__||___ /____/\___ > |___| (____ /____ >
## \/ \/ \/ \/ \/ \/ \/ \/
## a n s i b l e - n a s https://github.com/davestephens/ansible-nas
2017-08-28 15:31:54 +00:00
###
2020-01-06 00:11:53 +00:00
### DO NOT EDIT THIS FILE!
2020-01-08 16:12:03 +00:00
### Add your customisations to inventories/<your_inventory>/group_vars/nas.yml
2017-08-28 15:31:54 +00:00
###
2020-01-06 00:11:53 +00:00
###
### Ansible-NAS Applications
###
2018-11-28 23:22:36 +00:00
2019-06-02 20:15:34 +00:00
# Downloading
nzbget_enabled: false
2019-05-06 20:51:41 +00:00
pyload_enabled: false
2020-01-05 09:00:27 +00:00
# Media Serving
2018-09-23 19:20:10 +00:00
tautulli_enabled: false
2018-09-22 23:58:59 +00:00
2017-08-28 15:31:54 +00:00
# Media Sourcing
2019-03-01 20:59:43 +00:00
get_iplayer_enabled: false
2019-03-22 18:46:38 +00:00
jackett_enabled: false
2020-01-05 09:00:27 +00:00
jellyfin_enabled: false
2021-01-13 10:10:08 +00:00
2021-01-13 10:01:40 +00:00
2020-04-23 06:27:45 +00:00
youtubedlmaterial_enabled: false
2019-09-25 19:07:13 +00:00
2019-01-03 15:10:39 +00:00
# Music
2019-03-01 23:05:33 +00:00
mymediaforalexa_enabled: false
2019-01-03 15:10:39 +00:00
2018-12-31 00:08:25 +00:00
# News
miniflux_enabled: false
2017-08-28 15:31:54 +00:00
# System Management
2019-04-13 15:13:20 +00:00
glances_enabled: false
2018-09-21 22:42:16 +00:00
stats_enabled: false
guacamole_enabled: false
cloudcmd_enabled: false
2020-01-25 12:17:08 +00:00
virtual_desktop_enabled: false
2020-04-23 06:49:08 +00:00
krusader_enabled: false
2019-10-05 10:53:49 +00:00
2017-08-28 15:31:54 +00:00
# Backup & Restore
2018-12-28 01:00:51 +00:00
timemachine_enabled: false
2017-08-28 15:31:54 +00:00
2020-01-05 09:00:27 +00:00
# Software build and CI
gitlab_enabled: false
2020-01-05 09:00:27 +00:00
2019-04-12 22:31:27 +00:00
# IRC
2018-04-10 21:57:28 +00:00
znc_enabled: false
2019-04-12 22:31:27 +00:00
thelounge_enabled: false
2017-11-21 22:18:35 +00:00
2019-05-26 09:08:16 +00:00
# Finance
firefly_enabled: false
2019-06-12 19:48:18 +00:00
# Wallabag
wallabag_enabled: false
2019-07-23 20:07:40 +00:00
# Home Automation
2019-05-01 12:23:11 +00:00
mosquitto_enabled: false
2019-11-25 18:24:40 +00:00
openhab_enabled: false
2019-05-01 12:23:11 +00:00
2020-01-05 09:00:27 +00:00
# Books
calibre_enabled: false
2019-11-19 18:13:15 +00:00
# Ubooquity
ubooquity_enabled: false
2019-10-19 22:49:22 +00:00
# Joomla
joomla_enabled: false
2020-04-22 04:24:00 +00:00
# PyTivo
pytivo_enabled: false
2020-01-20 22:26:07 +00:00
2017-08-28 15:31:54 +00:00
###
### General
###
# Will be added to the docker group to give user command line access to docker
ansible_nas_user: david
2019-09-17 17:38:17 +00:00
# Your email and domain, used for Let's Encrypt SSL certs
2018-11-28 23:22:36 +00:00
ansible_nas_email: me@example.com
2018-11-25 15:27:50 +00:00
2020-01-07 22:57:15 +00:00
# Applications will have subdomain SSL certificates created if Traefik is enabled, e.g. ansible-nas.<your-domain>, nextcloud.<your-domain>
2018-11-28 23:22:36 +00:00
ansible_nas_domain: example.com
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"
2019-01-03 15:10:39 +00:00
# Where music is stored
music_root: "{{ samba_shares_root }}/music"
# Where podcasts are stored
podcasts_root: "{{ samba_shares_root }}/podcasts"
# Where your books are stored
books_root: "{{ samba_shares_root }}/books"
# Where your audiobooks are stored
audiobooks_root: "{{ samba_shares_root }}/audiobooks"
2020-05-12 22:55:52 +00:00
# Where your comics are stored
2019-11-19 18:13:15 +00:00
comics_root: "{{ samba_shares_root }}/comics"
# Where photos are stored
photos_root: "{{ samba_shares_root }}/photos"
# The description that'll appear next to your Ansible-NAS box when browsing your network
samba_server_string: Ansible NAS
2017-08-28 15:31:54 +00:00
# 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
2020-10-04 00:20:41 +00:00
browseable: 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
2020-10-04 00:20:41 +00:00
browseable: 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
2020-10-04 00:20:41 +00:00
browseable: yes
2017-08-28 21:10:19 +00:00
path: "{{ tv_root }}"
2017-08-28 15:31:54 +00:00
2019-01-03 15:10:39 +00:00
- name: music
comment: 'Music'
guest_ok: yes
public: yes
writable: yes
2020-10-04 00:20:41 +00:00
browseable: yes
path: "{{ music_root }}"
2019-01-03 15:10:39 +00:00
- name: podcasts
comment: 'Podcasts'
guest_ok: yes
public: yes
writable: yes
2020-10-04 00:20:41 +00:00
browseable: yes
path: "{{ podcasts_root }}"
2019-01-03 15:10:39 +00:00
2017-08-28 15:31:54 +00:00
- name: dump
comment: 'File dump'
guest_ok: yes
public: yes
writable: yes
2020-10-04 00:20:41 +00:00
browseable: yes
2017-08-28 15:31:54 +00:00
path: "{{ samba_shares_root }}/dump"
- name: games
comment: 'Games'
guest_ok: yes
public: yes
writable: yes
2020-10-04 00:20:41 +00:00
browseable: yes
2017-08-28 15:31:54 +00:00
path: "{{ samba_shares_root }}/games"
- name: photos
comment: 'Pictures'
guest_ok: yes
public: yes
writable: yes
2020-10-04 00:20:41 +00:00
browseable: yes
path: "{{ photos_root }}"
2017-08-28 15:31:54 +00:00
- name: books
comment: 'Books'
guest_ok: yes
public: yes
writable: yes
2020-10-04 00:20:41 +00:00
browseable: yes
path: "{{ books_root }}"
- name: audiobooks
comment: 'Audiobooks'
guest_ok: yes
public: yes
writable: yes
browsable: yes
path: "{{ samba_shares_root }}/audiobooks"
2019-11-19 18:13:15 +00:00
- name: comics
comment: 'Comics'
guest_ok: yes
public: yes
writable: yes
2020-10-04 00:20:41 +00:00
browseable: yes
path: "{{ comics_root }}"
2019-11-19 18:13:15 +00:00
2019-04-20 11:56:53 +00:00
###
### NFS
###
2019-09-17 17:38:17 +00:00
# Data you want published over NFS. More info on the NFS config format can be found at
2019-04-20 11:56:53 +00:00
# https://help.ubuntu.com/community/SettingUpNFSHowTo#Shares
# WARNING: Weird things might happen if you share the same data over Samba and NFS and allow writes on both!
nfs_shares_root: /mnt/Volume3
nfs_exports:
- "{{ nfs_shares_root }}/public *(rw,sync,no_root_squash)"
2019-01-15 23:24:18 +00:00
###
### General
###
ansible_python_interpreter: /usr/bin/python3
###
### Samba
###
# Seems to break browsing of the \\server-name shares root when enabled
samba_mitigate_cve_2017_7494: false
2020-01-05 09:00:27 +00:00
# Enable apple exentensions for compatibility with apple clients
samba_apple_extensions: yes
# 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: ansible-nas
# How Samba behaves when an unknown user connects, see Samba docs for more info
samba_map_to_guest: Bad Password
2019-09-17 17:38:17 +00:00
# The NetBIOS hostname used by Samba on your network
samba_netbios_name: "{{ ansible_nas_hostname }}"
2019-10-19 22:49:22 +00:00
###
2019-06-22 13:43:46 +00:00
### Joomla
###
2019-10-19 22:49:22 +00:00
joomla_data_directory: "{{ docker_home }}/joomla"
2019-06-22 13:43:46 +00:00
joomla_available_externally: "false"
2019-10-19 22:49:22 +00:00
joomla_database_password: top_secret
joomla_port: "8181"
2019-10-04 08:02:44 +00:00
2019-10-19 22:49:22 +00:00
###
2019-05-06 20:51:41 +00:00
### pyLoad
###
pyload_available_externally: "false"
pyload_config_directory: "{{ docker_home }}/pyload"
pyload_download_directory: "{{ downloads_root }}"
2020-01-05 16:25:18 +00:00
pyload_user_id: "0"
pyload_group_id: "0"
pyload_port: "8000"
2017-08-28 15:31:54 +00:00
2020-04-22 04:24:00 +00:00
###
### PyTivo
###
pytivo_available_externally: "false"
pytivo_config_directory: "{{ docker_home }}/pytivo/config"
pytivo_movies_directory: "{{ movies_root }}"
pytivo_tv_directory: "{{ tv_root }}"
pytivo_photos_directory: "{{ photos_root }}"
pytivo_music_directory: "{{ music_root }}"
pytivo_podcasts_directory: "{{ podcasts_root }}"
pytivo_user_id: "0"
pytivo_group_id: "0"
2018-09-23 19:20:10 +00:00
###
### Tautulli
###
tautulli_available_externally: "false"
2018-09-23 19:20:10 +00:00
tautulli_config_directory: "{{ docker_home }}/tautulli/config"
2020-01-05 16:25:18 +00:00
tautulli_user_id: "0"
tautulli_group_id: "0"
tautulli_port: "8185"
2018-09-23 19:20:10 +00:00
2020-04-23 06:27:45 +00:00
###
2020-05-04 20:42:44 +00:00
### YouTubeDL-Material
2020-04-23 06:27:45 +00:00
###
youtubedlmaterial_available_externally: "false"
youtubedlmaterial_data_directory: "{{ docker_home }}/youtubedlmaterial"
youtubedlmaterial_dl_audio_directory: "{{ downloads_root }}/youtube/audio"
youtubedlmaterial_dl_video_directory: "{{ downloads_root }}/youtube/video"
youtubedlmaterial_dl_subscriptions_directory: "{{ downloads_root }}/youtube/subscriptions"
2020-04-23 06:27:45 +00:00
youtubedlmaterial_port_http: "8998"
2017-11-21 22:18:35 +00:00
2017-08-28 15:31:54 +00:00
###
### OpenVPN
###
openvpn_config_directory: "{{ docker_home }}/openvpn"
2017-11-21 22:18:35 +00:00
###
### ZNC
###
znc_available_externally: "false"
2017-11-21 22:18:35 +00:00
znc_data_directory: "{{ docker_home }}/znc"
2020-01-05 16:25:18 +00:00
znc_user_id: "0"
znc_group_id: "0"
znc_port: "6677"
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
###
grafana_available_externally: "false"
telegraf_data_directory: "{{ docker_home }}/telegraf"
2018-04-07 10:29:22 +00:00
influxdb_data_directory: "{{ docker_home }}/influxdb"
grafana_data_directory: "{{ docker_home }}/grafana"
2018-04-10 21:57:28 +00:00
stat_collection_interval: 15s
grafana_influxdb_port: "8086"
grafana_port: "3000"
2018-09-21 22:37:53 +00:00
2018-11-14 10:13:52 +00:00
###
### Gitlab
###
gitlab_available_externally: "false"
gitlab_data_directory: "{{ docker_home }}/gitlab"
gitlab_port_http: "4080"
gitlab_port_https: "4443"
gitlab_port_ssh: "422"
###
### Glances
###
glances_available_externally: "false"
glances_port_one: "61208"
glances_port_two: "61209"
###
### nginx
###
nginx_data_directory: "{{ docker_home }}/nginx"
nginx_port_http: "80"
nginx_port_https: "443"
###
### Guacamole
###
guacamole_available_externally: "false"
guacamole_data_directory: "{{ docker_home }}/guacamole"
guacamole_port: "8090"
2018-12-31 00:08:25 +00:00
###
### Miniflux
###
miniflux_available_externally: "false"
2018-12-31 00:08:25 +00:00
miniflux_data_directory: "{{ docker_home }}/miniflux"
miniflux_admin_username: admin
miniflux_admin_password: supersecure
miniflux_port: "8070"
2018-12-31 00:08:25 +00:00
2019-10-05 10:53:49 +00:00
###
### CloudCmd
###
cloudcmd_available_externally: "false"
cloudcmd_data_directory: "{{ docker_home }}/cloudcmd/config"
cloudcmd_browse_directory: "/"
cloudcmd_user_id: "0"
cloudcmd_group_id: "0"
cloudcmd_port: "7373"
2019-10-05 10:53:49 +00:00
2020-04-23 06:49:08 +00:00
###
### Krusader
###
krusader_available_externally: "false"
krusader_config_directory: "{{ docker_home }}/krusader/config"
2020-04-23 06:49:08 +00:00
krusader_browse_directory: "/"
krusader_user_id: "0"
krusader_group_id: "0"
krusader_secure_connection: "0"
krusader_vnc_password: "topsecret"
2020-04-23 06:49:08 +00:00
krusader_port_http: "5800"
krusader_port_vnc: "5900"
###
### Time Machine
###
timemachine_data_directory: "{{ docker_home }}/timemachine"
2019-10-20 21:40:34 +00:00
timemachine_volume_size_limit: "0"
timemachine_password: timemachine
timemachine_share_name: Data
timemachine_log_level: error
2019-10-20 21:40:34 +00:00
timemachine_port: "10445"
2019-03-01 23:13:11 +00:00
2019-03-01 20:59:43 +00:00
###
### get_iplayer
###
get_iplayer_config_directory: "{{ docker_home }}/get_iplayer"
get_iplayer_download_directory: "{{ tv_root }}/iplayer_downloads"
get_iplayer_port: "8182"
2019-03-01 23:05:33 +00:00
###
### mymediaforalexa
###
2019-03-31 22:34:56 +00:00
mymediaforalexa_media_directory: "{{ music_root }}"
2019-03-01 23:05:33 +00:00
mymediaforalexa_data_directory: "{{ docker_home }}/mymediaforalexa"
2019-03-22 18:46:38 +00:00
###
2019-04-12 22:31:27 +00:00
### Jackett
2019-03-22 18:46:38 +00:00
###
jackett_available_externally: "false"
jackett_data_directory: "{{ docker_home }}/jackett"
2020-01-18 16:40:23 +00:00
jackett_torrents_root: "{{ torrents_root }}"
jackett_port: "9117"
2019-04-12 22:31:27 +00:00
###
### The Lounge
###
thelounge_available_externally: "false"
2019-04-14 16:02:55 +00:00
thelounge_data_directory: "{{ docker_home }}/thelounge"
thelounge_port_one: "113"
thelounge_port_two: "9002"
2019-04-14 16:02:55 +00:00
2019-05-26 09:08:16 +00:00
###
### Firefly
###
firefly_available_externally: "false"
2019-06-02 20:15:34 +00:00
firefly_data_directory: "{{ docker_home }}/firefly"
firefly_port: "8066"
2019-06-02 20:15:34 +00:00
###
### Nzbget
###
nzbget_available_externally: "false"
nzbget_data_directory: "{{ docker_home }}/nzbget"
nzbget_download_directory: "{{ downloads_root }}"
2020-01-05 16:25:18 +00:00
nzbget_user_id: "0"
nzbget_group_id: "0"
nzbget_port: "6789"
2019-06-12 19:48:18 +00:00
###
### Wallabag
###
wallabag_available_externally: "false"
2019-06-26 21:44:19 +00:00
wallabag_data_directory: "{{ docker_home }}/wallabag"
wallabag_port: "7780"
2019-06-26 21:44:19 +00:00
###
2019-05-01 12:23:11 +00:00
### Mosquitto
###
mosquitto_available_externally: "false"
mosquitto_data_directory: "{{ docker_home }}/mosquitto"
mosquitto_port_a: "1883"
mosquitto_port_b: "9001"
###
2020-04-26 01:22:04 +00:00
### Calibre-web
###
calibre_available_externally: "false"
calibre_data_directory: "{{ docker_home }}/calibre"
calibre_user_id: "0"
calibre_group_id: "0"
calibre_books_root: "{{ books_root }}"
calibre_port: "8084"
# To disable ebook conversion set calibre_ebook_conversion to "". To enable it set it to "linuxserver/calibre-web:calibre"
2019-10-13 22:08:41 +00:00
calibre_ebook_conversion: "linuxserver/calibre-web:calibre"
2019-10-15 21:15:43 +00:00
###
### openHAB
2019-08-13 12:38:15 +00:00
###
openhab_available_externally: "false"
openhab_docker_image: openhab/openhab:latest
openhab_data_directory: "{{ docker_home }}/openhab"
openhab_port_http: "7777"
openhab_port_https: "7778"
2019-10-19 16:30:47 +00:00
2019-08-27 12:58:00 +00:00
###
### Jellyfin
###
# If you're paranoid, set permissions to "ro" so jellyfin won't ever be able to
# delete your files
jellyfin_available_externally: "false"
jellyfin_config_directory: "{{ docker_home }}/jellyfin/config"
jellyfin_movies_directory: "{{ movies_root }}"
jellyfin_movies_permissions: "rw"
2020-06-21 03:06:58 +00:00
jellyfin_music_directory: "{{ music_root }}"
jellyfin_music_permissions: "rw"
jellyfin_photos_directory: "{{ photos_root }}"
jellyfin_photos_permissions: "rw"
2019-08-27 12:58:00 +00:00
jellyfin_tv_directory: "{{ tv_root }}"
jellyfin_tv_permissions: "rw"
jellyfin_books_directory: "{{ books_root }}"
jellyfin_books_permissions: "rw"
jellyfin_audiobooks_directory: "{{ audiobooks_root }}"
jellyfin_audiobooks_permissions: "rw"
2019-10-19 16:47:00 +00:00
jellyfin_user_id: "0"
jellyfin_group_id: "0"
jellyfin_port_http: "8896"
jellyfin_port_https: "8928"
2019-11-19 18:13:15 +00:00
###
### Ubooquity
###
ubooquity_available_externally: "false"
ubooquity_data_directory: "{{ docker_home }}/ubooquity"
2020-01-05 16:25:18 +00:00
ubooquity_user_id: "0"
ubooquity_group_id: "0"
ubooquity_port_webui: "2202"
2020-01-20 22:26:07 +00:00
ubooquity_port_admin: "2203"
2020-01-25 12:17:08 +00:00
###
### Virtual Desktop
###
vd_data_directory: "{{ docker_home }}/virtual_desktop"
vd_docker_image: "rattydave/docker-ubuntu-xrdp-mate-custom:20.04-tools"
2020-01-25 12:17:08 +00:00
vd_users:
- username: "{{ ansible_nas_user }}"
password: "topsecret"
sudo: "Y"
2020-04-22 03:54:40 +00:00
vd_rdp_port: 3389