Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
1566a90f
Commit
1566a90f
authored
Apr 14, 2015
by
Michael Scherer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the exception name ( AnsibleParserError, not AnsibleParsingError )
parent
53177a9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
v2/ansible/playbook/play.py
+1
-1
v2/ansible/plugins/strategies/__init__.py
+1
-1
No files found.
v2/ansible/playbook/play.py
View file @
1566a90f
...
...
@@ -144,7 +144,7 @@ class Play(Base, Taggable, Become):
else
:
raise
ValueError
except
ValueError
:
raise
AnsiblePars
ing
Error
(
"Vars in a playbook must be specified as a dictionary, or a list of dictionaries"
,
obj
=
ds
)
raise
AnsiblePars
er
Error
(
"Vars in a playbook must be specified as a dictionary, or a list of dictionaries"
,
obj
=
ds
)
def
_load_tasks
(
self
,
attr
,
ds
):
'''
...
...
v2/ansible/plugins/strategies/__init__.py
View file @
1566a90f
...
...
@@ -303,7 +303,7 @@ class StrategyBase:
data
=
self
.
_loader
.
load_from_file
(
included_file
.
_filename
)
if
not
isinstance
(
data
,
list
):
raise
AnsiblePars
ing
Error
(
"included task files must contain a list of tasks"
,
obj
=
included_file
.
_task
.
_ds
)
raise
AnsiblePars
er
Error
(
"included task files must contain a list of tasks"
,
obj
=
included_file
.
_task
.
_ds
)
is_handler
=
isinstance
(
included_file
.
_task
,
Handler
)
block_list
=
load_list_of_blocks
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment