add auditd role

This commit is contained in:
aaron
2021-08-24 13:07:16 +02:00
parent 28d2e86454
commit f10a3dde5a
13 changed files with 494 additions and 0 deletions

19
tasks/main.yaml Normal file
View File

@@ -0,0 +1,19 @@
---
- name: load variables based on distribution type
include_vars: '{{ item }}'
with_first_found:
- '{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yaml'
- '{{ ansible_os_family }}.yaml'
tags:
- 'auditd_vars'
- name: install auditd and its components
import_tasks: installation.yaml
tags:
- 'auditd_installation'
- name: push auditd config
import_tasks: configuration.yaml
tags:
- 'auditd_configuration'