fix: Use local_action to ensure runs on controller 🐛

This commit is contained in:
2025-02-21 07:13:00 +13:00
parent a49fcd4daa
commit 096655a6c1
2 changed files with 13 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
---
- name: Retrieve checkmk version
uri:
local_action:
module: uri
method: GET
headers:
Authorization: Bearer {{ cmk_username }} {{ cmk_secret }}