Files
ansible-role-checkmk-agent/tasks/host-management/Windows/check.yml
Aaron Guise eda8282a35
Some checks failed
CI / lint (push) Successful in 1m50s
CI / Molecule Test (almalinux8) (push) Failing after 2m36s
CI / Molecule Test (almalinux9) (push) Failing after 2m22s
CI / release (push) Has been skipped
CI / notify (push) Has been skipped
chore: Linting 🚨
2025-03-04 06:49:23 +13:00

12 lines
320 B
YAML

---
- name: Retrieve checkmk version
win_uri:
method: GET
headers:
Authorization: Bearer {{ cmk_username }} {{ cmk_secret }}
Accept: application/json
url: '{{ cmk_omd_protocol }}://{{ cmk_omd_host }}/{{ cmk_omd_site }}/check_mk/api/1.0/version'
return_content: true
register: cmk_output