Commit 4785e261 by Feanil Patel Committed by GitHub

Merge pull request #4071 from edx/feanil/retry_network_call

Retry if we can't get to github.
parents ff122c85 8e6d6c66
......@@ -128,6 +128,7 @@
# We don't care if absent users lack ssh keys
when: item.get('state', 'present') == 'present' and item.github is defined
with_items: "{{ user_info }}"
retries: 5
register: github_users_return
- name: Print warning if github user(s) missing ssh key
......@@ -150,6 +151,7 @@
exclusive: yes
key: "https://github.com/{{ item.name }}.keys"
when: item.github is defined and item.get('state', 'present') == 'present'
retries: 5
with_items: "{{ user_info }}"
- name: Create bashrc file for normal users
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment