Fix name, .yml, Traefik frontend.rule

-Changed name to handbrake2
-added .yml extension
-Changed Traefik frontend to make the URL handbrake.TLD
This commit is contained in:
timekills
2019-01-14 22:24:58 +04:30
committed by GitHub
parent 30e169f385
commit 7e9f392e7d

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Title: Handbrake for PlexGuide
# Title: Handbrake for PlexGuide Community (user/password)
# Author(s): timekills
# URL: https://plexguide.com - https://github.com/timekills
# GNU: General Public License v3.0
@@ -28,9 +28,6 @@
path: '{{path.stdout}}/{{pgrole}}'
register: oldcheck
- name: 'Get home variable'
debug: homestorage=ansible_env.HOME
# LABELS ######################################################################
- name: 'Adding Traefik'
set_fact:
@@ -38,7 +35,7 @@
traefik.enable: 'true'
traefik.port: '{{intport}}'
traefik.frontend.auth.basic: "plex:$apr1$tosnCNtX$XKXnDaIiW7f0y1nwmd.KL0"
traefik.frontend.rule: 'Host:{{pgrole}}.{{domain.stdout}},{{tldset}}'
traefik.frontend.rule: 'Host:handbrake.{{domain.stdout}},{{tldset}}'
- name: 'Setting PG Volumes'
set_fact: