commited current state (new functions, may not work by now)
This commit is contained in:
10
roles/checkmk-monitoring/tasks/discover-host.yaml
Normal file
10
roles/checkmk-monitoring/tasks/discover-host.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
- 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
|
||||
Reference in New Issue
Block a user