logwatch
Ansible Role: logwatch
An ansible role to install and configure logwatch.
Requirements
This role has been tested on
Ubuntu 16.04
andUbuntu 16.10
only.
Variables
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:
Usage Example
- hosts: all
vars:
logwatch_email:
- [email protected]
roles:
- thedumbtechguy.logwatch
License
MIT / BSD
Author Information
This role was created by TheDumbTechGuy ( twitter | blog | galaxy )
Credits
Install
ansible-galaxy install thedumbtechguy/ansible-role-logwatch
License
Unknown
Downloads
40
Owner