Files
operating-automation/roles/checkmk-monitoring/handlers/main.yaml
2025-10-08 09:32:02 +02:00

20 lines
716 B
YAML

- 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