1
0
Fork 0
forked from infra/ansible
ansible/roles/rkhunter/tasks/main.yml

27 lines
648 B
YAML
Raw Normal View History

2013-05-21 19:09:27 +00:00
---
- name: Install rkhunter (dnf)
ansible.builtin.package: name=rkhunter state=present
when: ansible_distribution_major_version|int != 10
2015-10-01 19:01:29 +00:00
notify:
- Run rkhunter
2015-10-01 19:01:29 +00:00
tags:
- rkhunter
- packages
2013-05-21 19:09:27 +00:00
- 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
2013-05-21 20:15:34 +00:00
tags:
2015-05-14 15:39:00 +00:00
- rkhunter
2013-05-21 20:15:34 +00:00
- config
2013-05-21 19:09:27 +00:00
- 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
2013-05-21 20:15:34 +00:00
tags:
2015-05-14 15:39:00 +00:00
- rkhunter
2013-05-21 20:15:34 +00:00
- config