diff --git a/ensure-patchmon-compliance.yml b/ensure-patchmon-compliance.yml deleted file mode 100644 index ca3e61d..0000000 --- a/ensure-patchmon-compliance.yml +++ /dev/null @@ -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 \ No newline at end of file