mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-28 23:37:21 +00:00
Move Proxy to the correct folder
This commit is contained in:
1 parent
a5a058985a
commit
36197c64c8
1 file changed
+16
@@ -54,6 +54,22 @@
|
|||||||
tags:
|
tags:
|
||||||
- teardown
|
- 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:
|
handlers:
|
||||||
- name: "Activate Changes"
|
- name: "Activate Changes"
|
||||||
listen: activate changes
|
listen: activate changes
|
||||||
|
|||||||
Reference in new issue
Block a user