We keep seeing transient failures when pulling down ssh keys from
github. This will retry for two minutes before failing to hopefully give
github enough time to recover if it's timing out.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
authorized_key:
user="{{ teuthology_user }}"
key=https://raw.githubusercontent.com/ceph/keys/autogenerated/ssh/@all.pub
+ # Register and retry to work around transient githubusercontent.com issues
+ register: ssh_key_update
+ until: ssh_key_update|success
+ # try for 2 minutes to retrieve the key before failing
+ retries: 24
+ delay: 5
tags:
- pubkeys