mirror of
https://github.com/de-it-krachten/ansible-role-logrotate
synced 2026-09-15 03:42:01 +00:00
No description
- Jinja 100%
# [1.6.0](https://github.com/de-it-krachten/ansible-role-logrotate/compare/v1.5.0...v1.6.0) (2026-07-25) ### Features * Added support for Fedora 44 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-logrotate
Installs & configures logrotate (bundled with all Linux distros)
Dependencies
Roles
- deitkrachten.cron
Collections
None
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- Red Hat Enterprise Linux 101
- RockyLinux 8
- RockyLinux 9
- RockyLinux 10
- OracleLinux 8
- OracleLinux 9
- OracleLinux 10
- AlmaLinux 8
- AlmaLinux 9
- AlmaLinux 10
- Debian 11 (Bullseye)
- Debian 12 (Bookworm)
- Debian 13 (Trixie)
- Ubuntu 20.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
- Ubuntu 26.04 LTS
- Fedora 43
- Fedora 441
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# List of packages
logrotate_packages:
- logrotate
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'logrotate'
hosts: all
become: 'yes'
roles:
- deitkrachten.cron
tasks:
- name: Include role 'logrotate'
ansible.builtin.include_role:
name: logrotate