Commit aa53212a by James Cammarata

Don't use all task params for vars, just the module args

parent 952166f4
...@@ -197,7 +197,8 @@ class Task(Base, Conditional, Taggable, Become): ...@@ -197,7 +197,8 @@ class Task(Base, Conditional, Taggable, Become):
if self._task_include: if self._task_include:
all_vars.update(self._task_include.get_vars()) all_vars.update(self._task_include.get_vars())
all_vars.update(self.serialize()) if isinstance(self.args, dict):
all_vars.update(self.args)
if 'tags' in all_vars: if 'tags' in all_vars:
del all_vars['tags'] del all_vars['tags']
......
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