Update and rename alltube.yml to speedtrack.yml

This commit is contained in:
Michael
2020-06-29 14:43:25 +01:00
committed by GitHub
parent 13599ab14f
commit fd8bffd2ca

View File

@@ -13,25 +13,15 @@
- name: 'Set Known Facts'
set_fact:
pgrole: 'alltube'
pgrole: 'speedtrack'
intport: '80'
extport: '1234'
image: 'rudloff/alltube'
extport: '8966'
image: 'henrywhitaker3/speedtest-tracker:latest'
# CORE (MANDATORY) ############################################################
- name: 'Including cron job'
include_tasks: '/opt/communityapps/apps/_core.yml'
# FOR ALLTUBE #################################################################
- name: Install autoProcess.ini
template:
src: /opt/communityapps/apps/templates/alltube.js2
dest: /opt/appdata/{{pgrole}}/config.json
force: yes
mode: 0775
owner: '1000'
group: '1000'
# LABELS ######################################################################
- name: 'Adding Traefik'
set_fact:
@@ -53,7 +43,7 @@
- name: 'Setting PG Volumes'
set_fact:
pg_volumes:
- /opt/appdata/{{pgrole}}:/var/www/html/config
- /opt/appdata/{{pgrole}}:/config
- name: 'Setting PG ENV'
set_fact: