Loop label only renders first item when it uses based vars keywork variables #40474
Labels
affects_2.5
This issue/PR affects Ansible v2.5
bug
This issue/PR relates to a bug.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
loop
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
N/A
SUMMARY
When the
label
keyword of a loop uses variables defined in avars
block, and those variables points to attributes of the iteration item, the rendered output always shows to the first item of the sequence.STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: