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
de221e6b
Commit
de221e6b
authored
Aug 14, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add vars to host_vars to prevent some suprises
parent
9851066f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
lib/ansible/playbook/play.py
+2
-0
lib/ansible/runner/__init__.py
+1
-0
No files found.
lib/ansible/playbook/play.py
View file @
de221e6b
...
...
@@ -224,6 +224,8 @@ class Play(object):
self
.
vars_files
=
[
self
.
vars_files
]
if
(
host
is
not
None
):
self
.
playbook
.
SETUP_CACHE
[
host
]
.
update
(
self
.
vars
)
inventory
=
self
.
playbook
.
inventory
hostrec
=
inventory
.
get_host
(
host
)
groupz
=
sorted
(
inventory
.
groups_for_host
(
host
),
key
=
lambda
g
:
g
.
depth
)
...
...
lib/ansible/runner/__init__.py
View file @
de221e6b
...
...
@@ -703,6 +703,7 @@ class Runner(object):
module_data
=
""
is_new_style
=
False
with
open
(
in_path
)
as
f
:
module_data
=
f
.
read
()
if
module_common
.
REPLACER
in
module_data
:
...
...
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