diff options
author | mail_redacted_for_web | 2024-04-14 21:30:38 +0200 |
---|---|---|
committer | mail_redacted_for_web | 2024-04-14 21:30:38 +0200 |
commit | 9cc82874a1b45ab2e75f38096c9f37c7d5a406f3 (patch) | |
tree | b080fb016456e9d2a8d92dbf6a4a99e83e90c10f /roles/patch_redhat/tasks | |
parent | 9f7b1e7638b4985c1e2b528ffcd7ee97732aae82 (diff) | |
download | ansible-9cc82874a1b45ab2e75f38096c9f37c7d5a406f3.tar.bz2 |
Code fixes
Diffstat (limited to 'roles/patch_redhat/tasks')
-rw-r--r-- | roles/patch_redhat/tasks/main.yaml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/roles/patch_redhat/tasks/main.yaml b/roles/patch_redhat/tasks/main.yaml index 45d9e18..7f200e7 100644 --- a/roles/patch_redhat/tasks/main.yaml +++ b/roles/patch_redhat/tasks/main.yaml @@ -28,9 +28,6 @@ ansible.builtin.stat: path: /usr/bin/rkhunter register: rkhex - ignore_errors: true - no_log: true - changed_when: false - name: RKhunter pre-check ansible.builtin.command: rkhunter -c --sk --rwo --ns become: true @@ -61,7 +58,6 @@ # "yum needs-restarting still works on RHEL 8, and "needs-restarting" is obsolete # On major releases >= 9 you may want to create an alternative for symlinking yum to dnf ansible.builtin.command: yum needs-restarting -r - ignore_errors: "yes" register: nr changed_when: false failed_when: false |