2.6: Backport _cond_not_supported_warn() (#41126) (#48175)

* 2.6: Backport _cond_not_supported_warn() (#41126)

(Partially cherry picked from commit 5f7ffd39dc)

* Fix changelog
pull/48323/head
Martin Krizek 7 years ago committed by Matt Clay
parent 61f76d7410
commit 29a851348d

@ -0,0 +1,2 @@
bugfixes:
- Fix for StrategyModule object has no attribute _cond_not_supported_warn (https://github.com/ansible/ansible/issues/46275)

@ -943,6 +943,9 @@ class StrategyBase:
return ret
def _cond_not_supported_warn(self, task_name):
display.warning("%s task does not support when conditional" % task_name)
def _execute_meta(self, task, play_context, iterator, target_host):
# meta tasks store their args in the _raw_params field of args,

Loading…
Cancel
Save