tests: ipify_facts: retry on fail (#66897)

This commit is contained in:
René Moser 2020-01-29 16:43:40 +01:00 committed by GitHub
parent 8ba324a33d
commit 91063f40d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,9 @@
timeout: 30 timeout: 30
validate_certs: "{{ validate_certs }}" validate_certs: "{{ validate_certs }}"
register: external_ip register: external_ip
- debug: var="{{ external_ip }}" until: external_ip is successful
retries: 5
delay: 10
- name: check if task was successful - name: check if task was successful
assert: assert: