plex

wilmardo.plex

Build Status Galaxy

The ultimate Plex role for Ansible, install Plex, Tautulli(former PlexPy) and Plexupdate in a whimp.

Requirements

None but when plexupdate_notify is enabled a working crontab email configuration is required to be able to receive notifications.

Role Variables

Default usage

As default the role installs Plex, Tautulli (former PlexPy) and Plexupdate, if you want to change this, look at Advanced usage section for the available variables.

Advanced usage

For more advanced usage the following variables are available:

# If Tautulli will get installed
tautulli_install: true
# Version of Tautulli to install, gets passed to git module
tautulli_version: v2.0.24
# User to run tautulli as
tautulli_user: tautulli
# Group to run tautulli as
tautulli_group: tautulli
# Tautulli install location
tautulli_install_location: /opt/Tautulli/
# Tautulli configuration location (recommended is to put it somewhere in /etc)
tautulli_config_location: /etc/tautulli-config.ini
# Tautulli data location (recommended is to NOT put it in your Tautulli exec dir)
tautulli_data_location: "{{ tautulli_install_location }}/data"

# If plexupdate will get installed
plexupdate_install: true
# Version of Tautulli to install, gets passed to git module
plexupdate_version: master
# Plexupdate install location
plexupdate_install_location: /opt/plexupdate/
# Plexupdate config location
plexupdate_config_location: /etc/plexupdate.conf
# Plexupdate cronwrapper location, change cron.daily to interval (cron.hourly, cron.daily, cron.weekly, cron.monthly)
plexupdate_cronwrapper: /etc/cron.daily/plexupdate

# Cron options for plexupdate
# If Plexupdate will automatically install newly downloaded version
plexupdate_autoinstall: true
# If Plexupdate will delete the downloaded package after installation to conserve disk space
plexupdate_autoupdate: true
# If Plexupdate will download the public release (set to no to download PlexPass releases)
plexupdate_public: true
# If Plexupdate will notify by mail after cron error
plexupdate_notify: false

Dependencies

None but for Tautulli (former PlexPy) on Centos 6, Python 2.7 out of the Software Collections is installed

Example Playbook

Install Plex, Tautulli and plexupdate

- hosts: plexservers
  roles:
    - { role: wilmardo.plex }

After running the playbook Plex and Tautulli need to be setup:

License

BSD-3-Clause-Clear

Author Information

This role was created in 2017 by Wilmar den Ouden.

About

Role to install Plex Media Server, Tautulli (former PlexPy) and Plexupdate in one go!

Install
ansible-galaxy install wilmardo/ansible-role-plex
GitHub repository
License
bsd-3-clause-clear
Downloads
3044
Owner
❤️ Kubernetes