Ansible playbook for setup of mediaserver.
Install Ansible and run the playbook.
ansible-playbook -i hosts -b server_setup.yml
Use -i
to specify an Ansible Inventory file.
The -b
or --become
flags allows the script to run as root.
All the roles install the program if already installed, then configures it.
MergerFS is a FUSE-based JBOD (Just a Bunch Of Drives) union filesystem.
The mergerfs role mounts all the drives at a specific mount point.
The samba role installs the configuration file and starts the service.
SnapRAID is a backup for disk arrays using parity blocks.
The snapraid role installs the configuration files and sets a cron job to do daily backups.
Docker is a container-based application platform.
The docker role starts up the services inside containers.
All services run inside docker containers.
The containers are created in roles/docker/tasks/containers.yml
.
- dockerui Web interface for managing docker containers running on the machine.
- plex Media streaming server.
- transmission Torrent download client.
- nzbget Usenet download client.
- sonarr TV show management.
- couchpotato Movie management.
- gitlab Git repository hosting server.
- minecraft-vanilla Minecraft game server.