Data manipulation — Ansible Documentation
docs.ansible.com › ansible › latestmap: this is a basic for loop that just allows you to change every item in a list, using the ‘attribute’ keyword you can do the transformation based on attributes of the list elements. select/reject: this is a for loop with a condition, that allows you to create a subset of a list that matches (or not) based on the result of the condition.