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
6e814566
Commit
6e814566
authored
Jul 28, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unquote params passed to an include statement
Fixes #8315
parent
106f4ccc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
lib/ansible/playbook/play.py
+1
-0
test/integration/roles/test_good_parsing/tasks/main.yml
+4
-0
No files found.
lib/ansible/playbook/play.py
View file @
6e814566
...
...
@@ -573,6 +573,7 @@ class Play(object):
mv
=
task_vars
.
copy
()
for
t
in
tokens
[
1
:]:
(
k
,
v
)
=
t
.
split
(
"="
,
1
)
v
=
utils
.
splitter
.
unquote
(
v
)
mv
[
k
]
=
template
(
self
.
basedir
,
v
,
mv
)
dirname
=
self
.
basedir
if
original_file
:
...
...
test/integration/roles/test_good_parsing/tasks/main.yml
View file @
6e814566
...
...
@@ -121,3 +121,7 @@
include
:
test_include.yml param={{ test_input }}
register
:
result
-
name
:
test includes with quoted params
include
:
test_include.yml param="this is a param"
register
:
result
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