An Ansible role for automating logrotate configuration for Apache HTTP server on RedHat family distributions.
None.
For variable descriptions see defaults/main.yml
.
None.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- role: rubentsirunyan.logrotate
logs_dir: /var/log/httpd
old_dir: old
rotate_frequency: daily
rotate_retention: 45
BSD
This role was created by Ruben Tsirunyan