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
7fcfc745
Commit
7fcfc745
authored
Nov 26, 2014
by
Hagai Kariti
Committed by
James Cammarata
Nov 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't template play vars by themselves, it's too early
parent
dece0c3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
lib/ansible/playbook/play.py
+0
-7
No files found.
lib/ansible/playbook/play.py
View file @
7fcfc745
...
...
@@ -88,13 +88,6 @@ class Play(object):
if
self
.
playbook
.
inventory
.
src
()
is
not
None
:
load_vars
[
'inventory_file'
]
=
self
.
playbook
.
inventory
.
src
()
# template the play vars with themselves and the extra vars
# from the playbook, to make sure they're correct
all_vars
=
utils
.
combine_vars
(
self
.
vars
,
self
.
playbook
.
extra_vars
)
all_vars
=
utils
.
combine_vars
(
all_vars
,
load_vars
)
self
.
vars
=
template
(
basedir
,
self
.
vars
,
all_vars
)
self
.
vars
=
utils
.
combine_vars
(
self
.
vars
,
load_vars
)
# We first load the vars files from the datastructure
# so we have the default variables to pass into the roles
self
.
vars_files
=
ds
.
get
(
'vars_files'
,
[])
...
...
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