algo/roles/logging/tasks/main.yml

17 lines
365 B
YAML
Raw Normal View History

2016-08-11 19:36:36 +00:00
- name: Auditd installed
apt: name=auditd state=latest
- name: Auditd rules configured
template: src=audit.rules.j2 dest=/etc/audit/audit.rules
notify:
- restart auditd
- name: Auditd configured
template: src=auditd.conf.j2 dest=/etc/audit/auditd.conf
notify:
- restart auditd
- name: Enable services
service: name=auditd enabled=yes