commited current state (new functions, may not work by now)
This commit is contained in:
20
roles/checkmk-monitoring/handlers/main.yaml
Normal file
20
roles/checkmk-monitoring/handlers/main.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
- name: "Activate Changes"
|
||||
checkmk.general.activation:
|
||||
server_url: "{{ checkmk_server_url }}"
|
||||
site: "{{ checkmk_monitoring_site }}"
|
||||
automation_user: "{{ checkmk_automation_user }}"
|
||||
automation_secret: "{{ checkmk_automation_pass }}"
|
||||
run_once: true
|
||||
delegate_to: localhost
|
||||
|
||||
- name: "Sign and bake pending agent jobs"
|
||||
checkmk.general.bakery:
|
||||
server_url: "{{ checkmk_server_url }}"
|
||||
site: "{{ checkmk_monitoring_site }}"
|
||||
automation_user: "{{ checkmk_automation_user }}"
|
||||
automation_secret: "{{ checkmk_automation_pass }}"
|
||||
signature_key_id: 1
|
||||
signature_key_passphrase: "{{ checkmk_agent_bakery_passphrase }}"
|
||||
state: "baked_signed"
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
Reference in New Issue
Block a user