community fixes

This commit is contained in:
Robert Baker
2019-02-01 11:40:43 -07:00
parent abc9a70285
commit 73242d45b0
16 changed files with 7 additions and 147 deletions

View File

@@ -24,23 +24,6 @@
- name: 'Including cron job'
include_tasks: '/opt/plexguide/containers/_core.yml'
# MIGRATIONS (REMOVE SECTION ON MARCH 1st) #############################################################
- name: 'Check for old volumes'
stat:
path: '{{path.stdout}}/{{pgrole}}'
register: oldcheck
- name: 'Migrations'
block:
- name: 'Creating new downloads location'
command: 'mkdir -p {{path.stdout}}/downloads/{{pgrole}}'
- name: 'Chown download folder'
shell: 'chown -R 1000:1000 {{path.stdout}}/downloads/{{pgrole}}/'
- name: 'Chmod download folder'
shell: 'chmod -R 775 {{path.stdout}}/downloads/{{pgrole}}/'
- name: 'Ini Check'
stat:
path: /opt/appdata/{{pgrole}}/core.conf