Commit fd2d7fe4 by Brian Coca

Merge pull request #10290 from bcoca/remove_bare_warning

removed bare variable detection as this confuses people 
parents 2a967879 7044b5a8
......@@ -84,11 +84,6 @@ class Task(object):
elif x.startswith("with_"):
if isinstance(ds[x], basestring):
param = ds[x].strip()
# Only a variable, no logic
if (param.startswith('{{') and
param.find('}}') == len(ds[x]) - 2 and
param.find('|') == -1):
utils.warning("It is unnecessary to use '{{' in loops, leave variables in loop expressions bare.")
plugin_name = x.replace("with_","")
if plugin_name in utils.plugins.lookup_loader:
......
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