From 6b19e41df45d1409ac9701f2bf8e348c76a1195a Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Wed, 25 Feb 2026 19:05:55 -0500 Subject: [PATCH] Update ensure-patchmon-compliance.yml --- ensure-patchmon-compliance.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ensure-patchmon-compliance.yml b/ensure-patchmon-compliance.yml index 7b4c886..91adc89 100644 --- a/ensure-patchmon-compliance.yml +++ b/ensure-patchmon-compliance.yml @@ -4,12 +4,12 @@ become: true tasks: - - name: Set compliance to true if currently false + - name: Set integrations.compliance to true if currently false ansible.builtin.replace: path: /etc/patchmon/config.yml - regexp: '^(\s*compliance:\s*)false' + regexp: '(^integrations:\n(?:[ \t]+.*\n)*?[ \t]+compliance:\s*)false' replace: '\1true' - backup: no + backup: true notify: Restart patchmon handlers: