Skip to content
/ plexpi Public

Ansible playbook for setting up Raspberry Pi as media server with Plex Media Server and PlexConnect

License

jnsbl/plexpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plexpi

Ansible playbook for setting up Raspberry Pi as media server with Plex Media Server and PlexConnect so that it can be connected with Apple TV (2nd generation).

Features

Ansible roles and their features:

  • raspbian
    • Disable GUI at boot time
    • Update APT, upgrade all packages (tag: upgrade_packages)
    • Update hostname
    • Add ansible to sudoers
    • Set static IP address
  • vim
    • Install Vim
    • Use .vimrc with sensible defaults
  • htop
  • win2utf8
    • Install win2utf8 (iconv wrapper for converting Cp1250-encoded subtitles to UTF-8)
  • plexmediaserver
  • plexconnect

How to use

Prerequisites

Installation

  1. Clone this repository to the host computer
git clone https://github.com/jnsbl/plexpi.git
  1. Edit inventory inside this directory as necessary

  2. (optional) Edit host_vars/plexpi.yml as necessary

  3. Run ansible-playbook main.yml -i inventory inside this directory to provision everything

  4. Install PlexConnect certificate to AppleTV

Running a specific set of tagged tasks

You can filter which part of the provisioning process to run by specifying a set of tags using ansible-playbook's --tags flag. The tags available are raspbian, boot_options, upgrade_packages, vim, htop, win2utf8, plexmediaserver and plexconnect.

ansible-playbook main.yml -i inventory --tags "plexmediaserver,plexconnect"

Running without doing any changes

You can run the playbook and see what changes would be done without actually changing anything.

ansible-playbook main.yml -i inventory --check --diff

Resources

The following links helped me to build the playbook:

License

MIT

About

Ansible playbook for setting up Raspberry Pi as media server with Plex Media Server and PlexConnect

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published