From ca4924378508651723bb9312843392fe28f82753 Mon Sep 17 00:00:00 2001 From: L3D Date: Tue, 27 Feb 2024 23:37:18 +0100 Subject: [PATCH] improv dl --- tasks/download.yml | 4 ++++ tasks/main.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tasks/download.yml b/tasks/download.yml index 4cc88e7..00644b3 100644 --- a/tasks/download.yml +++ b/tasks/download.yml @@ -5,3 +5,7 @@ version: '{{ win_exporter__version_target }}' source: https://community.chocolatey.org/api/v2/ state: present + register: _colocaltey + until: _colocaltey is succeeded + retries: 5 + delay: 2 diff --git a/tasks/main.yml b/tasks/main.yml index 71b3fee..16e2429 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -4,6 +4,10 @@ # name: python # version: '3.12.0' # state: present +# register: _colocaltey +# until: _colocaltey is succeeded +# retries: 5 +# delay: 2 - name: Get latest windows_exporter version ansible.builtin.include_tasks: