Add playbook to remove PatchMon agent from Windows hosts

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
JustinandClaude Opus 5.5 committed 2026-11-22 22:30:18 -06:00
1 parent ef7047f6bc
commit 622325f210
1 file changed
+17
+17
View File
@@ -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