mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
Remove code underlying when_* and only_if, which are deprecated features slated for removal in the 1.5 release.
This commit is contained in:
parent
191be7b951
commit
8e5b7d3095
8 changed files with 87 additions and 191 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue