Prepared Ansible 2.6 und cleanup

This commit is contained in:
h1f0x
2019-03-23 10:04:22 +01:00
committed by GitHub
parent 31ff3d760f
commit e45211e31e

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# #
# Title: Traktor docker container - track you Plex TV-Show progress # Title: Traktor docker container - track you Plex TV-Show progress
# Author(s): h1f0x) # Author(s): h1f0x
# URL: https://github.com/h1f0x/docker-trackt-plex-tracker # URL: https://github.com/h1f0x/docker-trackt-plex-tracker
# GNU: General Public License v3.0 # GNU: General Public License v3.0
################################################################################ ################################################################################
@@ -22,17 +22,6 @@
- name: 'Including cron job' - name: 'Including cron job'
include_tasks: '/opt/communityapps/apps/_core.yml' include_tasks: '/opt/communityapps/apps/_core.yml'
- name: 'Including plugins'
include_tasks: '/opt/communityapps/apps/_plugins.yml'
- name: 'Including folders'
include_tasks: '/opt/communityapps/apps/_downloaders.yml'
- name: 'Ini Check'
stat:
path: /opt/appdata/{{pgrole}}/core.conf
register: inicheck
# LABELS ###################################################################### # LABELS ######################################################################
- name: 'Adding Traefik' - name: 'Adding Traefik'
set_fact: set_fact:
@@ -53,8 +42,8 @@
- name: 'Setting PG ENV' - name: 'Setting PG ENV'
set_fact: set_fact:
pg_env: pg_env:
UID: 1000 UID: '1000'
GID: 1000 GID: '1000'
# MAIN DEPLOYMENT ############################################################# # MAIN DEPLOYMENT #############################################################
- name: 'Deploying {{pgrole}}' - name: 'Deploying {{pgrole}}'
@@ -72,7 +61,5 @@
aliases: aliases:
- '{{pgrole}}' - '{{pgrole}}'
privileged: yes privileged: yes
devices:
- '/dev/net/tun'
state: started state: started
labels: '{{pg_labels}}' labels: '{{pg_labels}}'