plex/tasks/main.yaml
changeset 2 2556522a2a45
parent 0 df042396074e
child 42 edb53dfadfb5
equal deleted inserted replaced
1:fd351734f007 2:2556522a2a45
       
     1 ---
       
     2 
       
     3 # https://forums.plex.tv/t/read-me-first-about-server-armv7-and-armv8-ubuntu-debian/226567
       
     4 
       
     5 - name: add plex apt key
       
     6   become: yes
       
     7   apt_key: url="https://downloads.plex.tv/plex-keys/PlexSign.key"
       
     8 
       
     9 - name: add plex apt repo
       
    10   become: yes
       
    11   apt_repository: repo="deb http://downloads.plex.tv/repo/deb public main"
       
    12   notify: restart plex service
       
    13 
       
    14 - name: update apt package cache
       
    15   become: yes
       
    16   apt: upgrade="dist" update_cache="yes" cache_valid_time="3600"
       
    17 
       
    18 - name: install plex server
       
    19   become: yes
       
    20   apt: name="plexmediaserver"
       
    21   notify: restart plex service