forked from infra/ansible
rkhunter: Skip on el10.
Signed-off-by: James Antill <james@and.org>
This commit is contained in:
parent
fca4d0d17c
commit
ae0c64cc69
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Install rkhunter (dnf)
|
||||
ansible.builtin.package: name=rkhunter state=present
|
||||
when: ansible_distribution_major_version|int != 10
|
||||
notify:
|
||||
- Run rkhunter
|
||||
tags:
|
||||
|
|
@ -9,6 +10,7 @@
|
|||
|
||||
- name: Rkhunter.conf
|
||||
ansible.builtin.template: src=rkhunter.conf.j2 dest=/etc/rkhunter.conf mode=0640
|
||||
when: ansible_distribution_major_version|int != 10
|
||||
notify:
|
||||
- Run rkhunter
|
||||
tags:
|
||||
|
|
@ -17,6 +19,7 @@
|
|||
|
||||
- name: Rkhunter sysconfig
|
||||
ansible.builtin.copy: src=rkhunter.sysconfig dest=/etc/sysconfig/rkhunter mode=0640
|
||||
when: ansible_distribution_major_version|int != 10
|
||||
notify:
|
||||
- Run rkhunter
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue