Skip to content

Commit

Permalink
Fix Key & Repo Install Following apt-key deprecation (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncaron authored Oct 10, 2023
1 parent 83ab698 commit bf6b8ae
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tasks/plex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,17 @@
state: present

- name: Add Plex apt key (Ubuntu & Debian with systemd)
apt_key:
get_url:
url: https://downloads.plex.tv/plex-keys/PlexSign.key
state: present
dest: /etc/apt/keyrings/plexmediaserver.asc
mode: '0644'
force: true

- name: Add Plex apt repo (Ubuntu & Debian with systemd)
apt_repository:
repo: deb https://downloads.plex.tv/repo/deb public main
repo: deb [signed-by=/etc/apt/keyrings/plexmediaserver.asc] https://downloads.plex.tv/repo/deb public main
state: present
changed_when: false
filename: plexmediaserver

- name: Apt install Plex
apt:
Expand Down

0 comments on commit bf6b8ae

Please sign in to comment.