@ -24,6 +24,7 @@ from ansible.playbook.task import Task
importpipes
importpipes
importshlex
importshlex
importos
importos
importsys
classPlay(object):
classPlay(object):
@ -426,6 +427,7 @@ class Play(object):
include_vars={}
include_vars={}
forkinx:
forkinx:
ifk.startswith("with_"):
ifk.startswith("with_"):
sys.stderr.write("DEPRECATION: include + with_items is unsupported/undocumented and will be removed in Ansible 1.5, it will likely not do what you think it does.\n")
plugin_name=k[5:]
plugin_name=k[5:]
ifplugin_namenotinutils.plugins.lookup_loader:
ifplugin_namenotinutils.plugins.lookup_loader:
raiseerrors.AnsibleError("cannot find lookup plugin named %s for usage in with_%s"%(plugin_name,plugin_name))
raiseerrors.AnsibleError("cannot find lookup plugin named %s for usage in with_%s"%(plugin_name,plugin_name))