Remove code underlying when_* and only_if, which are deprecated features slated for removal in the 1.5 release.

This commit is contained in:
Michael DeHaan 2014-01-03 19:13:21 -05:00
commit 8e5b7d3095
8 changed files with 87 additions and 191 deletions

View file

@ -1067,6 +1067,6 @@ class Runner(object):
if self.always_run is None:
self.always_run = self.module_vars.get('always_run', False)
self.always_run = check_conditional(
self.always_run, self.basedir, inject, fail_on_undefined=True, jinja2=True)
self.always_run, self.basedir, inject, fail_on_undefined=True)
return (self.check and not self.always_run)