Commit 68e35917 by Cosmin Luță

Allowing the template module to expand src=$foo

parent 9551afc0
...@@ -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