undeprecated with_ (#32805)

* undeprecated with_
This commit is contained in:
Brian Coca
2017-11-14 10:36:41 -05:00
committed by GitHub
parent 3ee2501c83
commit 49a1472656
2 changed files with 3 additions and 3 deletions

View File

@@ -159,7 +159,8 @@ class Task(Base, Conditional, Taggable, Become):
raise AnsibleError("you must specify a value when using %s" % k, obj=ds)
new_ds['loop_with'] = loop_name
new_ds['loop'] = v
display.deprecated("with_ type loops are being phased out, use the 'loop' keyword instead", version="2.9")
# FIXME: reenable afte 2.5
# display.deprecated("with_ type loops are being phased out, use the 'loop' keyword instead", version="2.10")
def preprocess_data(self, ds):
'''