Installs the Lynis security auditing tool on RHEL/CentOS or Debian/Ubuntu servers.
None.
lynis_version: 2.5.8
lynis_version_sha256sum: cb18e95e83c414ab36b125c9aa97c9a79b10a7cba2e94e622242611af5042ffbThe version and corresponding sha256sum of Lynis to install. Latest version and hash can be found on the Lynis download page.
lynis_src_directory: /usr/local/src/The directory to store the .tar.gz and Lynis src files.
lynis_dest_directory: /optThe directory to hold the Lynis installation.
lynis_log_directory: /var/log/lynisThe directory for the Lynis logs. Used by the cron job. By default Lynis will output the report to stdout and log to /var/log/lynis.log and /var/log/lynis-report.dat.
lynis_cron: yes
lynis_cron_weekday: "*"
lynis_cron_hour: 3
lynis_cron_minute: 30Lynis cron job configuration. The report, report log, and report data are all written to the lynis_log_directory.
None.
- hosts: all
roles:
- { role: tommarshall.lynis, tags: [lynis] }MIT / BSD