No description
Find a file
semantic-release-bot 8c57d88af9 chore(release): 1.5.0 [skip ci]
# [1.5.0](https://github.com/de-it-krachten/ansible-role-logrotate/compare/v1.4.0...v1.5.0) (2026-03-15)

### Features

* Added support for Fedora 43 ([ece42d6](ece42d6e95))
* Drop support for Fedora 41 ([0ad5233](0ad52332c2))
* Drop support for openSUSE Leap 15 ([105e365](105e365225))
* Drop support for SUSE Linux Enterprise 15 ([68d274b](68d274b8ab))
2026-03-15 11:38:46 +00:00
.github/workflows Update CI 2026-03-14 19:41:14 +01:00
defaults feat: Initial release 2023-03-08 15:56:13 +01:00
meta Update CI 2026-03-14 19:41:14 +01:00
molecule/default Update CI 2026-03-14 19:41:14 +01:00
tasks feat: Initial release 2023-03-08 15:56:13 +01:00
.ansible-lint feat: Initial release 2023-03-08 15:56:13 +01:00
.cicd Update CI 2026-03-06 22:46:47 +01:00
.cicd.overwrite Update CI 2026-03-14 19:41:14 +01:00
.collections feat: Add support for Ubuntu 24.04 LTS + Fedora 40 2024-05-31 23:22:32 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 02:17:11 +01:00
.releaserc.yml Update CI 2026-03-06 22:46:47 +01:00
.roles feat: Initial release 2023-03-08 15:56:13 +01:00
.yamllint feat: Update supported platforms & CI 2024-12-29 02:17:11 +01:00
CHANGELOG.md chore(release): 1.5.0 [skip ci] 2026-03-15 11:38:46 +00:00
README.md Update CI 2026-03-14 19:41:14 +01:00

CI

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
  • Fedora 42
  • Fedora 43

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