Commit a370261d by Jeroen Hoekx

Playbook: create one task per include instead of per argument.

parent 77a63159
......@@ -105,10 +105,10 @@ class PlayBook(object):
if x.find("=") != -1:
(k,v) = x.split("=")
inject_vars[k] = v
included = utils.template_from_file(path, inject_vars)
included = utils.parse_yaml(included)
for x in included:
new_tasks.append(x)
included = utils.template_from_file(path, inject_vars)
included = utils.parse_yaml(included)
for x in included:
new_tasks.append(x)
# *****************************************************
......
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