14 lines
321 B
YAML
14 lines
321 B
YAML
|
---
|
||
|
# tasks file for auditd
|
||
|
|
||
|
- name: Install and setup rules Auditd if enabled
|
||
|
when: 'auditd_enabled is true'
|
||
|
block:
|
||
|
- name: Install auditd
|
||
|
ansible.builtin.package:
|
||
|
name: auditd
|
||
|
|
||
|
- name: Create directory tree if not exists
|
||
|
include_tasks: install_rules.yml
|
||
|
loop: '{{ auditd_rules }}'
|