plex/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Tue, 09 Jun 2020 19:14:49 -0500
changeset 39 90b1b7c4be70
parent 2 2556522a2a45
child 42 edb53dfadfb5
permissions -rw-r--r--
Added pgsql support for matrix.

---

# https://forums.plex.tv/t/read-me-first-about-server-armv7-and-armv8-ubuntu-debian/226567

- name: add plex apt key
  become: yes
  apt_key: url="https://downloads.plex.tv/plex-keys/PlexSign.key"

- name: add plex apt repo
  become: yes
  apt_repository: repo="deb http://downloads.plex.tv/repo/deb public main"
  notify: restart plex service

- name: update apt package cache
  become: yes
  apt: upgrade="dist" update_cache="yes" cache_valid_time="3600"

- name: install plex server
  become: yes
  apt: name="plexmediaserver"
  notify: restart plex service