Hi, please can someone explain to me how to use "attempts" with retries? 
E.g. here's what I want to do:

- name: health check - wait for endpoints to become available
  action: shell curl "{{ item.endpoint }}/health"
  failed_when: attempts > 5
  retries: 6
  delay: 10

For reference: http://docs.ansible.com/ansible/playbooks_loops.html 
mentions said attempts key.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/18c909f5-8613-4210-8677-61fac50e85c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to