Ensure loop with delegate_to can short circuit the same as without delegate_to. Fixes #45189 (#45231)

This commit is contained in:
Matt Martz
2018-09-07 10:16:03 -05:00
committed by GitHub
parent 9a76441c02
commit 2ac647def8
3 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
bugfixes:
- loop - Ensure that a loop with a when condition that evaluates to false and delegate_to, will short circuit if the
loop references an undefined variable. This matches the behavior in the same scenario without delegate_to
(https://github.com/ansible/ansible/issues/45189)