Delete ensure-patchmon-compliance.yml

This commit is contained in:
2026-02-26 16:31:21 -05:00
parent d0e887b721
commit 16321ec0fd

View File

@@ -1,19 +0,0 @@
---
- name: Ensure compliance integration is enabled
hosts: all
become: true
tasks:
- name: Set integrations.compliance to true if currently false
ansible.builtin.replace:
path: /etc/patchmon/config.yml
regexp: '(^integrations:\n(?:[ \t]+.*\n)*?[ \t]+compliance:\s*)false'
replace: '\1true'
backup: no
notify: Restart patchmon
handlers:
- name: Restart patchmon
ansible.builtin.service:
name: patchmon
state: restarted