Commit de221e6b by Michael DeHaan

Add vars to host_vars to prevent some suprises

parent 9851066f
......@@ -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)
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment