Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Dec 24, 2019
1 parent 5efbc96 commit be998bc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions menu/roles/plex_autoscan/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
shell: 'cat /var/plexguide/pgscan/plex.token'
register: plex_auth_token

- name: Set plex.user fact | token
shell: 'cat /var/plexguide/pgscan/plex.token'
register: plex_auth_token_display

- name: Register IP
shell: 'cat /var/plexguide/server.ip'
register: ipaddress
Expand All @@ -56,7 +60,7 @@

- name: Display Plex Auth Token
debug:
msg: "Plex Auth Token: {{ plex_auth_token }}"
msg: "Plex Auth Token: {{plex_auth_token_display.stdout}}"

- name: Import Services Task
import_tasks: "subtasks/services.yml"
Expand Down Expand Up @@ -117,5 +121,5 @@
- name: Services | Restart 'plex_autoscan.service'
systemd:
name: plex_autoscan
state: restart
state: restarted
when: pas_online.stat.exists

0 comments on commit be998bc

Please sign in to comment.