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
1c09660c
Commit
1c09660c
authored
Mar 12, 2015
by
Shirou WAKAYAMA
Committed by
Toshio Kuratomi
Mar 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set 'nonstring' arg to passthru.
parent
a388cd69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
lib/ansible/utils/template.py
+1
-2
No files found.
lib/ansible/utils/template.py
View file @
1c09660c
...
...
@@ -184,8 +184,7 @@ class _jinja2_vars(object):
var
=
self
.
vars
[
varname
]
# HostVars is special, return it as-is, as is the special variable
# 'vars', which contains the vars structure
if
type
(
var
)
==
str
:
var
=
to_unicode
(
var
)
var
=
to_unicode
(
var
,
nonstring
=
"passthru"
)
if
isinstance
(
var
,
dict
)
and
varname
==
"vars"
or
isinstance
(
var
,
HostVars
):
return
var
else
:
...
...
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