https://github.com/thedumbtechguy/ansible-role-logwatch
An ansible role to install and configure logwatch
https://github.com/thedumbtechguy/ansible-role-logwatch
Last synced: 4 months ago
JSON representation
An ansible role to install and configure logwatch
- Host: GitHub
- URL: https://github.com/thedumbtechguy/ansible-role-logwatch
- Owner: thedumbtechguy
- Created: 2017-04-21T15:20:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T13:18:34.000Z (about 9 years ago)
- Last Synced: 2025-07-23T13:52:21.850Z (11 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Role: logwatch
An ansible role to install and configure logwatch.
## Requirements
> This role has been tested on `Ubuntu 16.04` and `Ubuntu 16.10` only.
## Variables
- `logwatch_email`: email address which Logwatch reports to
- Default: `root`
- `logwatch_detail`: the level of detail in the Logwatch report
- Default: `low`
- `logwatch_range`: the default time range for the Logwatch report
- Default: `yesterday`
- `logwatch_output`: the output method of the Logwatch report
- Default: `mail`
- Options:
- `stdout`
- `mail`
- `file`
- `logwatch_format`: the format of the Logwatch report
- Default: `text`
- Options:
- `text`
- `html`
- `logwatch_daily_reports`: send daily reports
- Default: `true`
- `logwatch_services`: list of services to monitor
- Default: `['All']`
## Usage Example
```yaml
- hosts: all
vars:
logwatch_email:
- admin@domain.tld
roles:
- thedumbtechguy.logwatch
```
## License
MIT / BSD
## Author Information
This role was created by [TheDumbTechGuy](https://github.com/thedumbtechguy) ( [twitter](https://twitter.com/frostymarvelous) | [blog](https://thedumbtechguy.blogspot.com) | [galaxy](https://galaxy.ansible.com/thedumbtechguy/) )
## Credits