fix: wrong location for _core and templates!

This commit is contained in:
Robert Baker
2019-02-16 18:19:08 -07:00
parent 40b09c0ae9
commit 6d5f9d9d6e
50 changed files with 63 additions and 66 deletions

View File

@@ -19,16 +19,16 @@
# CORE (MANDATORY) ############################################################
- name: 'Including cron job'
include_tasks: '/opt/plexguide/containers/_core.yml'
include_tasks: '/opt/communityapps/apps/_core.yml'
- name: 'Checking {{pgrole}}'s json existance'
stat:
path: '/opt/plexguide/containers/templates/{{pgrole}}/config.json'
path: '/opt/communityapps/apps/templates/{{pgrole}}/config.json'
register: jsoncheck
- name: 'Copying file for {{pgrole}}'
copy:
src: '/opt/plexguide/containers/templates/{{pgrole}}/config.json'
src: '/opt/communityapps/apps/templates/{{pgrole}}/config.json'
dest: '/opt/appdata/{{pgrole}}/{{pgrole}}/config.json'
directory_mode: yes
force: yes