Extended loop variables
As of Ansible 2.8, you can get extended loop information using theextendedoption to loop control. This option will expose the following information.
To disable theansible_loop.allitemsitem, to reduce memory consumption, setloop_control.extended_allitems:false.