This is my Ansible playbook for setting up Plex Media Server on a Ubuntu 14.04 install.
Currently I run PMS on an Intel NUC with all my media stored on a TranquilPC BBS2 NAS, which is shard via SAMBA. The NAS is managed by its own Playbook which is also included in this repo.
This is used soley for transencoding media for each of my Plex clients (iOS, Andriod and Chromecasts) as the NAS wasn't quite powerful to handle this task (It's only Intel ATOM based!).
I'm no sysadmin or linux user and found I was constantly hitting a brick wall with Centos, although I got it working it was just too much effort for what i'm doing. Also going forward its likely that i'd have to do so much more, so made switch to Ubuntu that usually has better support from the likes of Plex, Sickbeard and other media centre projects.
- Install Ansible on a client machine.
- Install Ubuntu 14.04 on the PMS machine.
- Clone this repo on the client machine.
- Edit group_vars/pms to your liking.
- Make sure to update host value!
- run "ansible-playbook -i hosts plexmediaserver.yml -u root -k -v".
- Enter password when prompted.
- Go make a cuppa, your not needed anymore.
You may also notice the nas.yml file in the repo, this is the other playbook I used for managing my NAS storage machine.
- Updating all base install packages.
- Sets machine hostname.
- Create user groups.
- Create user accounts.
- Adds users to sudoers list.
- Installs Plex Media Server.
- Handles installed software configuration.
- Manages iptables requirements.
- Updating all base install packages.
- Sets machine hostname.
- Create user groups.
- Create user accounts.
- Adds users to sudoers list.
- Installation and configuration of
- Sabnzbd
- Sickbeard
- Couchpatato
- Headphones
- Ngnix
- PHP-FPM
- Hack
- MariaDB
- Dnsmasq
- Steam Lancache