Skip to content

Commit

Permalink
Merge pull request #16 from ClementGautier/patch-1
Browse files Browse the repository at this point in the history
Fixes transient error
  • Loading branch information
marcomc authored Apr 12, 2022
2 parents 36bb6a9 + da0c426 commit 51652a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/get_system_key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
command: grep -o -P '(?<=systemKey\":\")[a-zA-Z0-9]*' {{ jumpcloud_agent_config }}
register: jumpcloud_system_key_result
become: "{{ jumpcloud_use_sudo }}"
retries: 5
delay: 3
until: jumpcloud_system_key_result.rc == 0
changed_when: "not jumpcloud_system_key_result.stdout"

- name: Set Jumpcloud System Key
Expand Down

0 comments on commit 51652a7

Please sign in to comment.