From 622325f21036d06d4660ed0259fdc16c1784e5b4 Mon Sep 17 00:00:00 2001 From: Justin Date: Sun, 22 Nov 2026 22:30:18 -0600 Subject: [PATCH] Add playbook to remove PatchMon agent from Windows hosts Co-Authored-By: Claude Opus 5.5 --- windows/remove-patchmon.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 windows/remove-patchmon.yaml diff --git a/windows/remove-patchmon.yaml b/windows/remove-patchmon.yaml new file mode 100644 index 0000000..6fc9fc5 --- /dev/null +++ b/windows/remove-patchmon.yaml @@ -0,0 +1,17 @@ +--- +# Remove the PatchMon agent (server patch.ki5bhv.com / 192.168.1.8 was retired). +- name: Remove PatchMon agent (Windows) + hosts: windows + tasks: + - name: Stop and delete PatchMonAgent service + ansible.windows.win_service: + name: PatchMonAgent + state: absent + + - name: Remove PatchMon folders + ansible.windows.win_file: + path: "{{ item }}" + state: absent + loop: + - C:\Program Files\PatchMon + - C:\ProgramData\PatchMon