diff options
| author | mail_redacted_for_web | 2026-04-18 10:20:56 +0200 |
|---|---|---|
| committer | mail_redacted_for_web | 2026-04-18 10:20:56 +0200 |
| commit | 77628b800070a825e0b7e28f0ccc647d1912f4a4 (patch) | |
| tree | 9edce05e98b1142f480a07b08b3f4d9a95eaa4ae /roles/patch_suse/tasks/main.yaml | |
| parent | b8f96d867a7296bed82c49023f03c16a16da40c0 (diff) | |
| download | os-patch-77628b800070a825e0b7e28f0ccc647d1912f4a4.tar.bz2 | |
feat: Remove rkhunter
- SHM monitoring becomes tedious, and SSH monitoring ignores any
includes. --> infeasible, better switch to other mechanisms like
integrit, tripwire, ...
- http://www.catb.org/~esr/writings/unix-koans/nervous.html
Diffstat (limited to 'roles/patch_suse/tasks/main.yaml')
| -rw-r--r-- | roles/patch_suse/tasks/main.yaml | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/roles/patch_suse/tasks/main.yaml b/roles/patch_suse/tasks/main.yaml index d277877..21bc882 100644 --- a/roles/patch_suse/tasks/main.yaml +++ b/roles/patch_suse/tasks/main.yaml @@ -4,10 +4,6 @@ that: - ansible_distribution_file_variety == 'SUSE' or ansible_distribution_file_variety == 'SuSE' no_log: true -- name: Check for existence of rkhunter - ansible.builtin.stat: - path: /usr/bin/rkhunter - register: rkhex - name: Update zypper cache (SUSE) # we cannot cheat like we did with yum: we need to update any package to refresh the cache with the zypper module. Hence falling back # to shell. @@ -49,7 +45,7 @@ # rpm's cleanup or apt's "autoremove" :( # clean_deps: true become: true - name: Update and RKhunter checks + name: Updates when: - zypperlu is not search("No updates found.") - block: @@ -76,14 +72,6 @@ changed_when: false name: Cleanup become: true -- name: RKhunter properties update - ansible.builtin.command: rkhunter --propupd --rwo --ns - become: true - changed_when: true - when: - - rkhex.stat is defined - - rkhex.stat.executable is defined - - rkhex.stat.executable|bool == true - name: Reboot if required # ignore_errors: yes ansible.builtin.reboot: |
