Extension, name, traefik front end

-Changed name to "handbrake2"
-Added .yml extension
-Changed Traefik front end rule to make it remain handbrake
This commit is contained in:
timekills
2019-01-14 21:59:35 +04:30
committed by GitHub
parent 8f47ac1c95
commit 808a968164

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: