mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-03-08 05:31:59 +00:00
fixes
This commit is contained in:
@@ -21,21 +21,21 @@
|
|||||||
- name: 'Including cron job'
|
- name: 'Including cron job'
|
||||||
include_tasks: '/opt/plexguide/containers/_core.yml'
|
include_tasks: '/opt/plexguide/containers/_core.yml'
|
||||||
|
|
||||||
- name: Checking {{pgrole}}'s json existance
|
- name: 'Checking {{pgrole}}'s json existance'
|
||||||
stat:
|
stat:
|
||||||
path: '/opt/plexguide/containers/templates/{{pgrole}}/config.json'
|
path: '/opt/plexguide/containers/templates/{{pgrole}}/config.json'
|
||||||
register: jsoncheck
|
register: jsoncheck
|
||||||
|
|
||||||
- name: 'Copying file for {{pgrole}}'
|
- name: 'Copying file for {{pgrole}}'
|
||||||
copy:
|
copy:
|
||||||
src: /opt/plexguide/containers/templates/{{pgrole}}.json
|
src: '/opt/plexguide/containers/templates/{{pgrole}}/config.json'
|
||||||
dest: /opt/appdata/{{pgrole}}/{{pgrole}}json
|
dest: '/opt/appdata/{{pgrole}}/{{pgrole}}/config.json'
|
||||||
directory_mode: yes
|
directory_mode: yes
|
||||||
force: yes
|
force: yes
|
||||||
owner: 1000
|
owner: 1000
|
||||||
group: 1000
|
group: 1000
|
||||||
mode: 0755
|
mode: 0755
|
||||||
when: not nzbthrottle.stat.exists
|
when: not jsoncheck.stat.exists
|
||||||
|
|
||||||
# LABELS ######################################################################
|
# LABELS ######################################################################
|
||||||
- name: 'Adding Traefik'
|
- name: 'Adding Traefik'
|
||||||
|
|||||||
Reference in New Issue
Block a user