Tasks inside a block that use a loop
are not skipped even if the block's when
condition evaluates to false
#64883
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
python3
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
Tasks inside a block that use a
loop
are not skipped even if the block'swhen
condition evaluates tofalse
. Tasks that don't use aloop
are skipped.ISSUE TYPE
COMPONENT NAME
Loops
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
OS version: macOS Mojave 10.14.6
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: