git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/roles/patch_redhat/tasks/main.yaml
diff options
context:
space:
mode:
authormail_redacted_for_web 2026-04-18 10:05:27 +0200
committermail_redacted_for_web 2026-04-18 10:05:27 +0200
commitb8f96d867a7296bed82c49023f03c16a16da40c0 (patch)
tree5b7d1d0a51f359390678dfe465e8de4f4c34c17c /roles/patch_redhat/tasks/main.yaml
parentfca01219755624b12fd9237dcb81102ee01dd45c (diff)
downloados-patch-b8f96d867a7296bed82c49023f03c16a16da40c0.tar.bz2
fix: fix logic #2
Diffstat (limited to 'roles/patch_redhat/tasks/main.yaml')
-rw-r--r--roles/patch_redhat/tasks/main.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/roles/patch_redhat/tasks/main.yaml b/roles/patch_redhat/tasks/main.yaml
index f67bfcf..9732153 100644
--- a/roles/patch_redhat/tasks/main.yaml
+++ b/roles/patch_redhat/tasks/main.yaml
@@ -73,10 +73,7 @@
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
+ when: rkhex.stat is defined and rkhex.stat.executable is defined and rkhex.stat.executable
- name: Reboot if required
# ignore_errors: yes
ansible.builtin.reboot: