Iterate loop first then retries after iterate

Is there a way in a playbook to iterate through loop first and retry each that failed later?

This would reduce amount of retires and delays needed when items in the loop do not need to be executed sequentially.

  • name: “check if items exist”
    lookup_something_module: “{{ item }}”
    loop: “{{ loop_items }}”
    register: crds
    until: crds.resources | length > 0
    retries: 30