saltyorg / docs

GNU General Public License v3.0
48 stars 76 forks source link

Add inventory description for local Plex access for home server setups #239

Open gurabli opened 9 months ago

gurabli commented 9 months ago

As many of us are moving to local server & storage, maybe it would be good to add the inventory lines needed to Plex app docs, if somebody want local access to Plex server. Salty helped me out with the below lines and it works like a charm now.

nano /srv/git/saltbox/inventories/host_vars/localhost.yml

Add:

plex_open_main_ports: true
plex_open_local_ports: true
plex_docker_envs_advertise_ip: "{{ lookup('vars', plex_name + '_docker_envs_advertise_ip_url', default=plex_docker_envs_advertise_ip_url) }},http://YOUR_SERVER_IP:32400"

Re-install Plex: sb install plex

In PMS settings one can also enable GDM.

PlexNation commented 7 months ago

Ah man I spent so many hours on this today, your 3 lines did it. Thank you!