plex/tasks/main.yaml
changeset 197 1cc658995a70
parent 189 3bd85e235e76
child 198 e1f873a07ea2
--- a/plex/tasks/main.yaml	Wed Oct 19 09:17:03 2022 -0500
+++ b/plex/tasks/main.yaml	Fri Oct 21 21:58:58 2022 -0500
@@ -6,12 +6,12 @@
   become: yes
   get_url:
     url: "https://downloads.plex.tv/plex-keys/PlexSign.key"
-    dest: /etc/apt/trusted.gpg.d/plex.asc
+    dest: "/etc/apt/trusted.gpg.d/plex.asc"
     mode: "0644"
 
 - name: add plex apt repo
   become: yes
-  apt_repository: repo="deb http://downloads.plex.tv/repo/deb public main"
+  apt_repository: repo="deb [signed-by=/etc/apt/trusted.gpg.d/plex.asc] http://downloads.plex.tv/repo/deb public main"
   notify: restart plex service
 
 - name: update apt package cache