Data manipulation — Ansible Documentation
docs.ansible.com › ansible › latestselectattr/rejectattr: very similar to the above but it uses a specific attribute of the list elements for the conditional statement. Use a loop to create exponential backoff for retries/until. - name : retry ping 10 times with exponential backup delay ping : retries : 10 delay : '{{item|int}}' loop : '{{ range(1, 10)|map(' pow', 2) }}'