26 lines
574 B
YAML
26 lines
574 B
YAML
---
|
|
- name: install rkhunter (dnf)
|
|
package: name=rkhunter state=present
|
|
notify:
|
|
- run rkhunter
|
|
tags:
|
|
- rkhunter
|
|
- packages
|
|
when: ansible_distribution_major_version|int >= 29 and ansible_distribution is 'Fedora' and ansible_cmdline.ostree is not defined
|
|
|
|
|
|
- name: rkhunter.conf
|
|
template: src=rkhunter.conf.j2 dest=/etc/rkhunter.conf mode=0640
|
|
notify:
|
|
- run rkhunter
|
|
tags:
|
|
- rkhunter
|
|
- config
|
|
|
|
- name: rkhunter sysconfig
|
|
copy: src=rkhunter.sysconfig dest=/etc/sysconfig/rkhunter mode=0640
|
|
notify:
|
|
- run rkhunter
|
|
tags:
|
|
- rkhunter
|
|
- config
|