mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-26 03:23:11 +00:00
186 lines
4.1 KiB
Text
186 lines
4.1 KiB
Text
###
|
|
### 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.
|
|
transmission_with_openvpn_enabled: true
|
|
transmission_enabled: false
|
|
|
|
# Media Sourcing
|
|
sonarr_enabled: true
|
|
couchpotato_enabled: false
|
|
|
|
# System Management
|
|
portainer_enabled: true
|
|
glances_enabled: true
|
|
|
|
# Backup & Restore
|
|
crashplan_enabled: true
|
|
duplicati_enabled: true
|
|
|
|
# other stuff
|
|
znc_enabled: true
|
|
|
|
|
|
###
|
|
### General
|
|
###
|
|
# Sets the hostname of your Ansible NAS
|
|
ansible_nas_hostname: bender
|
|
|
|
# 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
|
|
|
|
# Where you want Docker to store its images and container data.
|
|
docker_home: /mnt/Volume2/docker
|
|
|
|
|
|
###
|
|
### Samba
|
|
###
|
|
# The location where all shares will be created by default. Can be overridden on a per-share basis.
|
|
# This path will be mounted to backup containers, ie Crashplan, Duplicati
|
|
samba_shares_root: /mnt/Volume3
|
|
|
|
# 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"
|
|
|
|
# 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.
|
|
samba_shares:
|
|
- name: downloads
|
|
comment: 'Stuff downloaded'
|
|
guest_ok: yes
|
|
public: yes
|
|
writable: yes
|
|
path: "{{ downloads_root }}"
|
|
|
|
- name: movies
|
|
comment: 'Movies'
|
|
guest_ok: yes
|
|
public: yes
|
|
writable: yes
|
|
path: "{{ movies_root }}"
|
|
|
|
- name: tv
|
|
comment: 'TV Episodes'
|
|
guest_ok: yes
|
|
public: yes
|
|
writable: yes
|
|
path: "{{ tv_root }}"
|
|
|
|
- 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"
|
|
|
|
##################################################################
|
|
###### You shouldn't need to edit anything below this point ######
|
|
##################################################################
|
|
|
|
###
|
|
### Transmission
|
|
###
|
|
transmission_config_directory: "{{ docker_home }}/transmission/config"
|
|
transmission_download_directory: "{{ downloads_root }}"
|
|
transmission_watch_directory: "{{ torrents_root }}"
|
|
transmission_user_id: 0
|
|
transmission_group_id: 0
|
|
transmission_local_network: "192.168.1.0/24"
|
|
|
|
|
|
###
|
|
### Duplicati
|
|
###
|
|
duplicati_data_directory: "{{ docker_home }}/duplicati/config"
|
|
|
|
|
|
###
|
|
### Sonarr
|
|
###
|
|
sonarr_data_directory: "{{ docker_home }}/sonarr/config"
|
|
sonarr_tv_directory: "{{ tv_root }}"
|
|
sonarr_download_directory: "{{ downloads_root }}"
|
|
sonarr_user_id: 0
|
|
sonarr_group_id: 0
|
|
|
|
|
|
###
|
|
### 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
|
|
|
|
|
|
###
|
|
### 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
|
|
|
|
|
|
###
|
|
### OpenVPN
|
|
###
|
|
openvpn_config_directory: "{{ docker_home }}/openvpn"
|
|
|
|
|
|
###
|
|
### Portainer
|
|
###
|
|
portainer_data_directory: "{{ docker_home }}/portainer/config"
|
|
|
|
|
|
###
|
|
### Crashplan
|
|
###
|
|
crashplan_user_id: 0
|
|
crashplan_group_id: 0
|
|
|
|
###
|
|
### ZNC
|
|
###
|
|
znc_data_directory: "{{ docker_home }}/znc"
|
|
znc_user_id: 0
|
|
znc_group_id: 0
|