Commit 687cf1eb by Michael DeHaan

Merge pull request #416 from lcosmin/0.4-fixes

Allow the template module to expand src=$foo
parents 0ac837b3 68e35917
...@@ -514,6 +514,7 @@ class Runner(object): ...@@ -514,6 +514,7 @@ class Runner(object):
# apply templating to source argument so vars can be used in the path # apply templating to source argument so vars can be used in the path
inject = self.setup_cache.get(conn.host,{}) inject = self.setup_cache.get(conn.host,{})
inject.update(self.module_vars)
# if we have first_available_file in our vars # if we have first_available_file in our vars
# look up the files and use the first one we find as src # look up the files and use the first one we find as src
......
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