diff --git a/tasks/install.yml b/tasks/install.yml index 015c4e2..85edc99 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -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 @@ -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"