From 4f82c9d2b44fe70b6aa3dc1dad5ab337561681bc Mon Sep 17 00:00:00 2001 From: Alexander Dexl Date: Sat, 5 Jul 2025 14:49:45 +0000 Subject: [PATCH] add chkmk_activate_changes.yml --- chkmk_activate_changes.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 chkmk_activate_changes.yml diff --git a/chkmk_activate_changes.yml b/chkmk_activate_changes.yml new file mode 100644 index 0000000..1d100fb --- /dev/null +++ b/chkmk_activate_changes.yml @@ -0,0 +1,19 @@ +--- +- name: "Activate Checkmk changes" + hosts: localhost + gather_facts: false + vars_files: + - secrets.yaml + vars: + server_url: "192.168.1.11" + site: "cmk" + + tasks: + - name: "Start activation on a specific site" + checkmk.general.activation: + server_url: "{{ server_url }}" + site: "{{ site }}" + automation_user: "{{ automation_user }}" + automation_secret: "{{ automation_secret }}" + sites: + - "{{ site }}"