Giter Site home page Giter Site logo

ansible-role-logwatch's Introduction

ansible-role-logwatch's People

Stargazers

Aaron D Borden avatar

Watchers

James Cloos avatar Hunter Williams avatar

ansible-role-logwatch's Issues

Weekly report

In order to report weekly, I think libdate-manip-perl needs to be installed so that you can pass advanced range syntax to logwatch, e.g. logwatch_range: between -7 days and -1 days

Otherwise logwatch will complain it cannot parse the range option.

Technically, this could be done through logwatch_packages, but in that case the README could include the example configuration required for a weekly report:

logwatch_cron_time: weekly
logwatch_range: between -7 days and -1 days
logwatch_packages:
  - logwatch
  - libdate-manip-perl

Undefined variable `logwatch_mail_to`

I'm using version v0.1-alpha but getting this error:

TASK [hwwilliams.logwatch : Ensure Logwatch Configuration File Is Present] *******************************************************************************************************
fatal: [jump2d]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'logwatch_mail_to' is undefined"}

It looks like this is fixed on master, maybe you want to create a new release/tag?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.