An ansible role to install and configure logwatch.
This role has been tested on
Ubuntu 16.04
andUbuntu 16.10
only.
logwatch_email
: email address which Logwatch reports to- Default:
root
- Default:
logwatch_detail
: the level of detail in the Logwatch report- Default:
low
- Default:
logwatch_range
: the default time range for the Logwatch report- Default:
yesterday
- Default:
logwatch_output
: the output method of the Logwatch report- Default:
mail
- Options:
stdout
mail
file
- Default:
logwatch_format
: the format of the Logwatch report- Default:
text
- Options:
text
html
- Default:
logwatch_daily_reports
: send daily reports- Default:
true
- Default:
logwatch_services
: list of services to monitor- Default:
['All']
- Default:
- hosts: all
vars:
logwatch_email:
- admin@domain.tld
roles:
- thedumbtechguy.logwatch
MIT / BSD
This role was created by TheDumbTechGuy ( twitter | blog | galaxy )