Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Added retries on binaries download
Browse files Browse the repository at this point in the history
Signed-off-by: anastasia prasolova <[email protected]>
  • Loading branch information
aprasolova committed Aug 26, 2022
1 parent 8e3eebd commit a7608d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
mode: '0755'
notify: [ 'Restart NeoFS IR' ]
when: neofs_ir__binaries_download | bool
register: download_result
retries: 5
delay: 5
until: download_result.status_code != '200'
4 changes: 4 additions & 0 deletions tasks/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@
group: 'root'
mode: '0755'
when: neofs_ir__binaries_download | bool
register: download_result
retries: 5
delay: 5
until: download_result.status_code != '200'

0 comments on commit a7608d2

Please sign in to comment.