Remove patchman-remove playbook
Patchman client has been removed from all servers; the cleanup playbook is no longer needed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
5752e877cb
commit
2b2a56dbca
1 file changed
-21
@@ -1,21 +0,0 @@
|
||||
---
|
||||
# Removes patchman-client from every Ubuntu server (undoes the old
|
||||
# patchman_client role, removed from this repo). Leaves curl, jq and cron
|
||||
# installed since other things use them.
|
||||
- name: Remove patchman-client
|
||||
hosts: ubuntu_servers
|
||||
become: true
|
||||
tasks:
|
||||
- name: Remove patchman-client package (if installed from a repo)
|
||||
ansible.builtin.package:
|
||||
name: patchman-client
|
||||
state: absent
|
||||
|
||||
- name: Remove patchman-client files
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
- /etc/cron.d/patchman-client
|
||||
- /usr/sbin/patchman-client
|
||||
- /etc/patchman
|
||||
Reference in new issue
Block a user