ansible-role-logrotate/README.rst

977 B

ansible-role-logrotate

Ansible role to manage Logrotate

Description

Logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and mailing of log files. Each log file may be handled daily, weekly, monthly, or when it grows too large.

Requirements

Packages

Package repository index files should be up to date before using this role, we do not manage them.

Role Variables

Dependencies

Example Playbook

- name: Install logrotate
  hosts: www
  roles:
    - ansible-role-logrotate