fix: No longer delegate to localhost 🐛
Some checks failed
CI / lint (push) Failing after 1m53s
CI / Molecule Test (almalinux8) (push) Has been skipped
CI / Molecule Test (almalinux9) (push) Has been skipped
CI / release (push) Has been skipped
CI / notify (push) Has been skipped

This caused some issues when used in a delegated fashion.
This commit is contained in:
2025-03-03 22:41:45 +13:00
parent c29898b542
commit 01adff887f
7 changed files with 389 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
---
- 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