utils.deprecated("The 'when_' conditional is a deprecated syntax as of 1.2. Switch to using the regular unified 'when' statements as described in ansibleworks.com/docs/.","1.5")
if'when'inds:
raiseerrors.AnsibleError("multiple when_* statements specified in task %s"%(ds.get('name',ds['action'])))
raiseerrors.AnsibleError("multiple when_* statements specified in task %s"%(ds.get('name',ds['action'])))