forked from infra/ansible
Replaces many references to package: with ansible.builtin.package Signed-off-by: Ryan Lerch <rlerch@redhat.com>
24 lines
473 B
YAML
24 lines
473 B
YAML
---
|
|
- name: Install rkhunter (dnf)
|
|
ansible.builtin.package: name=rkhunter state=present
|
|
notify:
|
|
- run rkhunter
|
|
tags:
|
|
- rkhunter
|
|
- packages
|
|
|
|
- name: Rkhunter.conf
|
|
template: src=rkhunter.conf.j2 dest=/etc/rkhunter.conf mode=0640
|
|
notify:
|
|
- run rkhunter
|
|
tags:
|
|
- rkhunter
|
|
- config
|
|
|
|
- name: Rkhunter sysconfig
|
|
ansible.builtin.copy: src=rkhunter.sysconfig dest=/etc/sysconfig/rkhunter mode=0640
|
|
notify:
|
|
- run rkhunter
|
|
tags:
|
|
- rkhunter
|
|
- config
|