feat: add Suse support

This commit is contained in:
HVSharma12
2025-06-02 10:12:19 -06:00
committed by Richard Megginson
parent 22d787a281
commit 2a8586898c
3 changed files with 12 additions and 3 deletions
+3 -3
View File
@@ -110,8 +110,8 @@
- name: Update aide check cron configuration if necessary
ansible.builtin.lineinfile:
path: /etc/crontab
regexp: "^.* root /usr/sbin/aide --check"
line: "{{ aide_cron_interval }} root /usr/sbin/aide --check"
regexp: "^.* root {{ __aide_bin_path }} --check"
line: "{{ aide_cron_interval }} root {{ __aide_bin_path }} --check"
when:
- aide_cron_check is not none
- aide_cron_check | bool
@@ -120,7 +120,7 @@
ansible.builtin.lineinfile:
path: /etc/crontab
state: absent
regexp: "^.* root /usr/sbin/aide --check"
regexp: "^.* root {{ __aide_bin_path }} --check"
when:
- aide_cron_check is not none
- not aide_cron_check | bool