Ansible Role audit

This role installs and configures audit, including the daemon’s logrotating behaviour.

Runs on

  • RHEL 7 (and compatible)

  • RHEL 8 (and compatible)

Tags

Tag

What it does

audit

Installs and configures audit

audit:state

Starts, stops or restarts the audit daemon

Optional Role Variables

Variable

Description

Default Value

audit__action_mail_account

The mail account or alias which will be notified on low available disk space.

'root'

audit__service_enabled

Enables or disables the auditd service, analogous to systemctl enable/disable --now.

true

Example:

# optional
audit__action_mail_account: 'root'
audit__service_enabled: true

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich