|
|
@ -206,6 +206,8 @@ class Play(object):
|
|
|
|
items = utils.plugins.lookup_loader.get(plugin_name, basedir=self.basedir, runner=None).run(terms, inject=task_vars)
|
|
|
|
items = utils.plugins.lookup_loader.get(plugin_name, basedir=self.basedir, runner=None).run(terms, inject=task_vars)
|
|
|
|
elif k.startswith("when_"):
|
|
|
|
elif k.startswith("when_"):
|
|
|
|
included_additional_conditions.append(utils.compile_when_to_only_if("%s %s" % (k[5:], x[k])))
|
|
|
|
included_additional_conditions.append(utils.compile_when_to_only_if("%s %s" % (k[5:], x[k])))
|
|
|
|
|
|
|
|
elif k == 'when':
|
|
|
|
|
|
|
|
included_additional_conditions.append(utils.compile_when_to_only_if("jinja2_compare %s" % x[k]))
|
|
|
|
elif k in ("include", "vars", "only_if"):
|
|
|
|
elif k in ("include", "vars", "only_if"):
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|