Ansible configuration Management for Plex Home Theater on the Intel NUC, with an Apple remote.
To use this, complete the following:
- Install Ansible on a machine which can connect to the NUC.
- Install Ubuntu Trusty server minimal install to the NUC (just need SSH and Python).
- Ensure / is sda1
- Checkout this repository on your Ansible machine (from step 1), and modify the 'user' variable in the playbook.
- Ensure your NUC is addressable by 'nuc' (i.e. place it in /etc/hosts).
- Run the playbook as follows:
ansible-playbook -i hosts nuc-ubuntu1404.yml --ask-sudo-pass
This script will do the following:
- Mount point to use TRIM commands (
noatime,discard
) - Write
bashrc
andvimrc
files, and symlink them for 'root' - Set the
sources.list
file to use Lease Web (a fast mirror) in a concise manner - Add the PlexHT PPA repository
- Add the Intel graphics driver repository
- Upgrade all the installed packages
- Install a series of "basic" pacakges and
plexhometheater
(vim
,xorg
,alsa
, etc...) - Install some configuration files:
- Apple remote
rc_keymap
- Intel graphics force VSYNC Xorg config
- Modprobe for 'nuvotron' IR subsystem (so it starts)
- IR-Keytable init script
- A tty1 config to auto-login and start X
- An
xinitrc
file to auto-start Plex when X starts
- Apple remote
- Starts and enables the NTP and ir-keytable services
This script does not:
- Configure passwords
- Set up Plex's preferences or logins
- Configures any firewall
- Configures updating