Getting started

Example inventory

The debops.logrotate role is included in the common.yml DebOps playbook, so you don't need to enable it separately.

Example playbook

Here's an example playbook which uses debops.logrotate role:

---

- name: Configure log rotation
  hosts: [ 'debops_all_hosts', 'debops_service_logrotate' ]
  become: True

  roles:

    - role: debops.logrotate
      tags: [ 'role::logrotate' ]