{"id":13655044,"url":"https://github.com/retr0h/ansible-logrotate","last_synced_at":"2025-04-30T09:06:36.852Z","repository":{"id":18715609,"uuid":"21926457","full_name":"retr0h/ansible-logrotate","owner":"retr0h","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-08T21:23:31.000Z","size":37,"stargazers_count":8,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-26T14:51:23.521Z","etag":null,"topics":["ansible","ansible-library","logrotate"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/retr0h.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-17T02:59:32.000Z","updated_at":"2019-11-06T20:54:56.000Z","dependencies_parsed_at":"2022-09-24T18:06:22.490Z","dependency_job_id":null,"html_url":"https://github.com/retr0h/ansible-logrotate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retr0h%2Fansible-logrotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retr0h%2Fansible-logrotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retr0h%2Fansible-logrotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/retr0h%2Fansible-logrotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/retr0h","download_url":"https://codeload.github.com/retr0h/ansible-logrotate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231895823,"owners_count":18442377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-library","logrotate"],"created_at":"2024-08-02T03:00:55.265Z","updated_at":"2024-12-30T18:09:24.839Z","avatar_url":"https://github.com/retr0h.png","language":"Python","funding_links":[],"categories":["Security"],"sub_categories":["Logging and Monitoring"],"readme":"logrotate\n=========\n\nA library which manages log rotate configurations.\n\nLibrary ready status\n--------------------\n\n[![Build Status](http://img.shields.io/travis/retr0h/ansible-logrotate.svg?style=flat-square)](https://travis-ci.org/retr0h/ansible-logrotate)\n[![Galaxy](http://img.shields.io/badge/galaxy-ansible--logrotate-blue.svg?style=flat-square)](https://galaxy.ansible.com/list#/roles/1131)\n\nRequirements\n------------\n\n* Ansible \u003e= 2.2\n\nDependencies\n------------\n\nNone\n\nExample Playbook\n----------------\n\n    - hosts: servers\n      tasks:\n        - name: Rotate /var/log/tomcat/myapp.log\n          logrotate: name=myapp\n                     path=/var/log/tomcat/myapp.log\n          args:\n            options:\n              - daily\n              - rotate 8\n              - postrotate\n              - exec script\n              - endscript\n\n        - name: rotate /var/log/wibble.log\n          logrotate:\n            name: wibble-log\n            path: '/var/log/wibble*.log'\n            options:\n              - daily\n              - size +1M\n              - rotate 7\n              - missingok\n              - copytruncate\n              - compress\n\n\nTesting\n-------\n\nTests are performed by [Molecule](http://molecule.readthedocs.org/en/latest/).\n\n    $ tox\n\nLicense\n-------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretr0h%2Fansible-logrotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fretr0h%2Fansible-logrotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretr0h%2Fansible-logrotate/lists"}