From 7d4a08907e63814b5b3609d97a924d54029cc945 Mon Sep 17 00:00:00 2001 From: DaRealestUK Date: Wed, 13 Mar 2019 17:52:08 +0000 Subject: [PATCH] Corrected indentation error yaml expected , but found '-' --- apps/nzbget-mp4.yml | 50 ++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/apps/nzbget-mp4.yml b/apps/nzbget-mp4.yml index b9650cd..7444452 100644 --- a/apps/nzbget-mp4.yml +++ b/apps/nzbget-mp4.yml @@ -176,7 +176,7 @@ path: '/opt/appdata/{{pgrole}}/nzbget.conf' state: present delay: 5 - + - name: 'Stopping {{pgrole}}' docker_container: name: '{{pgrole}}' @@ -311,33 +311,33 @@ line: 'Category5.DestDir=' state: present - - name: Set Global Extensions - lineinfile: - path: '/opt/appdata/{{pgrole}}/nzbget.conf' - regexp: '^Extensions\s*=.*' - line: 'Extensions=unzip.py' - state: present + - name: Set Global Extensions + lineinfile: + path: '/opt/appdata/{{pgrole}}/nzbget.conf' + regexp: '^Extensions\s*=.*' + line: 'Extensions=unzip.py' + state: present - - name: Set ScriptOrder - lineinfile: - path: '/opt/appdata/{{pgrole}}/nzbget.conf' - regexp: '^ScriptOrder\s*=.*' - line: 'ScriptOrder=unzip.py, MP4_Automator/NZBGetPostProcess.py' - state: present + - name: Set ScriptOrder + lineinfile: + path: '/opt/appdata/{{pgrole}}/nzbget.conf' + regexp: '^ScriptOrder\s*=.*' + line: 'ScriptOrder=unzip.py, MP4_Automator/NZBGetPostProcess.py' + state: present - - name: Set mp4 script location - lineinfile: - path: '/opt/appdata/{{pgrole}}/nzbget.conf' - regexp: '^MP4_Automator/NZBGetPostProcess.py:MP4_FOLDER\s*=.*' - line: 'MP4_Automator/NZBGetPostProcess.py:MP4_FOLDER=/config/scripts/MP4_Automator/' - state: present + - name: Set mp4 script location + lineinfile: + path: '/opt/appdata/{{pgrole}}/nzbget.conf' + regexp: '^MP4_Automator/NZBGetPostProcess.py:MP4_FOLDER\s*=.*' + line: 'MP4_Automator/NZBGetPostProcess.py:MP4_FOLDER=/config/scripts/MP4_Automator/' + state: present - - name: Set mp4 conversion true - lineinfile: - path: '/opt/appdata/{{pgrole}}/nzbget.conf' - regexp: '^MP4_Automator/NZBGetPostProcess.py:SHOULDCONVERT\s*=.*' - line: 'MP4_Automator/NZBGetPostProcess.py:SHOULDCONVERT=True' - state: present + - name: Set mp4 conversion true + lineinfile: + path: '/opt/appdata/{{pgrole}}/nzbget.conf' + regexp: '^MP4_Automator/NZBGetPostProcess.py:SHOULDCONVERT\s*=.*' + line: 'MP4_Automator/NZBGetPostProcess.py:SHOULDCONVERT=True' + state: present - name: Default User lineinfile: