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: