ansible_role_win_exporter/tasks/download.yml
2024-02-27 23:56:20 +01:00

21 lines
578 B
YAML

---
- name: Install window autohotkey
chocolatey.chocolatey.win_chocolatey:
name: autohotkey.install
source: https://community.chocolatey.org/api/v2/
state: present
register: _auto
until: _auto is succeeded
retries: 5
delay: 2
- name: Install windows node_exporter
chocolatey.chocolatey.win_chocolatey:
name: prometheus-windows-exporter.install
version: '{{ win_exporter__version_target }}'
source: https://community.chocolatey.org/api/v2/
state: present
register: _colocaltey
until: _colocaltey is succeeded
retries: 5
delay: 2