WIP changes for adding hosts to checkmk

This commit is contained in:
abrown38 committed 2024-12-04 15:50:33 +00:00
1 parent 001db69fe0
commit 41c8ecdddc
5 files changed
+77 -8

No files matched your search

+12 -1
View File
@@ -3,4 +3,15 @@
- name: Restart squid
ansible.builtin.service:
name: "{{ squid_service }}"
state: restarted
state: restarted
- name: "Activate Changes"
listen: activate changes
checkmk.general.activation:
server_url: "{{ checkmk_agent_protocol }}://{{ checkmk_server }}:80/"
site: "{{ checkmk_agent_site }}"
automation_user: "{{ checkmk_agent_user }}"
automation_secret: "{{ checkmk_password }}"
force_foreign_changes: "false"
validate_certs: "false"
run_once: true