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

Commit

Permalink
Merge pull request #31 from cloudalchemy/paulfantom-patch-1
Browse files Browse the repository at this point in the history
Retry when connecting to external services
  • Loading branch information
paulfantom authored Apr 5, 2018
2 parents e54fff4 + 8c7f071 commit 2f41235
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
dest: "/tmp"
remote_src: yes
creates: "/tmp/alertmanager-{{ alertmanager_version }}.linux-{{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}/alertmanager"
register: _download_binary
until: _download_binary | success
retries: 5
delay: 2
run_once: true
delegate_to: localhost

Expand Down Expand Up @@ -65,6 +69,10 @@
with_items:
- libselinux-python
- policycoreutils-python
register: _download_packages
until: _download_packages | success
retries: 5
delay: 2
when:
- ansible_os_family == "RedHat"

Expand Down

0 comments on commit 2f41235

Please sign in to comment.