Don't add module args into variables at all
Getting recursive errors otherwise, so this is probably not something we want to do. This most likely only worked in v1 due to the fact that module args were templated earlier than the point in Runner() when they were fed into the templating engine.
This commit is contained in:
parent
6d2e1a3b24
commit
f68223b9ed
1 changed files with 2 additions and 2 deletions
|
@ -199,8 +199,8 @@ class Task(Base, Conditional, Taggable, Become):
|
|||
if self._task_include:
|
||||
all_vars.update(self._task_include.get_vars())
|
||||
|
||||
if isinstance(self.args, dict):
|
||||
all_vars.update(self.args)
|
||||
#if isinstance(self.args, dict):
|
||||
# all_vars.update(self.args)
|
||||
|
||||
if 'tags' in all_vars:
|
||||
del all_vars['tags']
|
||||
|
|
Loading…
Reference in a new issue