Skip to content
This repository has been archived by the owner on Apr 30, 2020. It is now read-only.

Commit

Permalink
playbook: retry dnf for network failures
Browse files Browse the repository at this point in the history
This makes the task more reliable if there are temporary network issues
with dnf repos.

#67
  • Loading branch information
kparal authored and hroncok committed Jul 11, 2018
1 parent eca43d3 commit 07f23b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests.yml
Expand Up @@ -23,6 +23,10 @@
- libtaskotron-core
- libtaskotron-fedora
register: dnf_output
# retry for network failures
retries: 3
delay: 30
until: dnf_output is succeeded

- name: Print msg of DNF task
debug:
Expand Down

0 comments on commit 07f23b0

Please sign in to comment.