Move Proxy to the correct folder

This commit is contained in:
abrown38 committed 2024-12-05 10:20:22 +00:00
1 parent a5a058985a
commit 36197c64c8
1 file changed
+16
+16
View File
@@ -54,6 +54,22 @@
tags:
- teardown
- name: Move Proxy to project specific checkmk folder
checkmk.general.host:
server_url: "{{ checkmk_agent_protocol }}://{{ checkmk_server }}:80/"
site: "{{ checkmk_agent_site }}"
validate_certs: "true"
automation_user: "{{ checkmk_agent_user }}"
automation_secret: "{{ checkmk_password }}"
folder: "/{{ os_project }}-{{ win_project }}"
name: "{{ os_project }}-{{ win_project }}-proxy"
state: "present"
run_once: true
delegate_to: "localhost"
notify: "activate changes"
when: project_zone == 'protected'
tags: checkmk_proxy
handlers:
- name: "Activate Changes"
listen: activate changes