GithubHelp home page GithubHelp logo

evanstachowiak / ansible-logrotate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from telus/ansible-logrotate

0.0 1.0 0.0 16 KB

rotates, compresses, and mails system logs

License: MIT License

Ruby 100.00%

ansible-logrotate's Introduction

ansible-logrotate

logrotate - rotates, compresses, and mails system logs

Platforms Licence

Tunables

  • logrotate_name (string) - Name for logrotate script
  • logrotate_log_path (string) - Path for log to rotate
  • logrotate_create_logs_with_mode (string) - mode to create empty logfile with
  • logrotate_create_logs_with_owner (string) - owner for new logfile after rotation
  • logrotate_create_logs_with_group (string) - group for new logfile after rotation
  • logrotate_ignore_empty_logs (string) - Do not rotate logs if they are empty
  • logrotate_ignore_missing_logs (string) - Do not complain if logs are missing
  • logrotate_compression (string) - Compress logs after rotation?
  • logrotate_postpone_compression (string) - Compress logs the day after rotation?
  • logrotate_frequency (string) - How often to rotate logs?
  • logrotate_retention_limit (integer) - How many old logs to retain?
  • logrotate_notify_pidfile (string) - Pidfile of process to signal when rotation is complete
  • logrotate_notify_signal (string) - Signal to send when to process when rotation is complete
  • logrotate_prerotate_commands (list) - Commands to execute prior to rotation
  • logrotate_postrotate_commands (list) - Commands to execute after rotation

Dependencies

  • None

Example Playbook

- hosts: servers
  roles:
     - role: telusdigital.logrotate
       logrotate_name: nginx

Contributors

ansible-logrotate's People

Contributors

aaronpederson avatar colstrom avatar extremelylongusername avatar stevenharradine avatar

Watchers

 avatar

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.