Files
operating-automation/roles/checkmk-monitoring/tasks/discover-host.yaml
2025-10-08 09:32:02 +02:00

10 lines
356 B
YAML

- name: "Run CheckMK Discovery for Host"
checkmk.general.discovery:
server_url: "{{ checkmk_server_url }}"
site: "{{ checkmk_monitoring_site }}"
automation_user: "{{ checkmk_automation_user }}"
automation_secret: "{{ checkmk_automation_pass }}"
host_name: "{{ ansible_hostname }}"
state: "fix_all"
notify:
- Activate Changes