Corrected indentation error

yaml expected <block end>, but found '-'
This commit is contained in:
DaRealestUK
2019-03-13 17:52:08 +00:00
committed by GitHub
parent 007070dcbb
commit 7d4a08907e

View File

@@ -176,7 +176,7 @@
path: '/opt/appdata/{{pgrole}}/nzbget.conf' path: '/opt/appdata/{{pgrole}}/nzbget.conf'
state: present state: present
delay: 5 delay: 5
- name: 'Stopping {{pgrole}}' - name: 'Stopping {{pgrole}}'
docker_container: docker_container:
name: '{{pgrole}}' name: '{{pgrole}}'
@@ -311,33 +311,33 @@
line: 'Category5.DestDir=' line: 'Category5.DestDir='
state: present state: present
- name: Set Global Extensions - name: Set Global Extensions
lineinfile: lineinfile:
path: '/opt/appdata/{{pgrole}}/nzbget.conf' path: '/opt/appdata/{{pgrole}}/nzbget.conf'
regexp: '^Extensions\s*=.*' regexp: '^Extensions\s*=.*'
line: 'Extensions=unzip.py' line: 'Extensions=unzip.py'
state: present state: present
- name: Set ScriptOrder - name: Set ScriptOrder
lineinfile: lineinfile:
path: '/opt/appdata/{{pgrole}}/nzbget.conf' path: '/opt/appdata/{{pgrole}}/nzbget.conf'
regexp: '^ScriptOrder\s*=.*' regexp: '^ScriptOrder\s*=.*'
line: 'ScriptOrder=unzip.py, MP4_Automator/NZBGetPostProcess.py' line: 'ScriptOrder=unzip.py, MP4_Automator/NZBGetPostProcess.py'
state: present state: present
- name: Set mp4 script location - name: Set mp4 script location
lineinfile: lineinfile:
path: '/opt/appdata/{{pgrole}}/nzbget.conf' path: '/opt/appdata/{{pgrole}}/nzbget.conf'
regexp: '^MP4_Automator/NZBGetPostProcess.py:MP4_FOLDER\s*=.*' regexp: '^MP4_Automator/NZBGetPostProcess.py:MP4_FOLDER\s*=.*'
line: 'MP4_Automator/NZBGetPostProcess.py:MP4_FOLDER=/config/scripts/MP4_Automator/' line: 'MP4_Automator/NZBGetPostProcess.py:MP4_FOLDER=/config/scripts/MP4_Automator/'
state: present state: present
- name: Set mp4 conversion true - name: Set mp4 conversion true
lineinfile: lineinfile:
path: '/opt/appdata/{{pgrole}}/nzbget.conf' path: '/opt/appdata/{{pgrole}}/nzbget.conf'
regexp: '^MP4_Automator/NZBGetPostProcess.py:SHOULDCONVERT\s*=.*' regexp: '^MP4_Automator/NZBGetPostProcess.py:SHOULDCONVERT\s*=.*'
line: 'MP4_Automator/NZBGetPostProcess.py:SHOULDCONVERT=True' line: 'MP4_Automator/NZBGetPostProcess.py:SHOULDCONVERT=True'
state: present state: present
- name: Default User - name: Default User
lineinfile: lineinfile: