{"id":20489716,"url":"https://github.com/telus/ansible-logrotate","last_synced_at":"2025-05-09T04:32:05.427Z","repository":{"id":31622294,"uuid":"35187370","full_name":"telus/ansible-logrotate","owner":"telus","description":"rotates, compresses, and mails system logs","archived":false,"fork":false,"pushed_at":"2022-06-26T07:06:58.000Z","size":17,"stargazers_count":0,"open_issues_count":2,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-03-01T13:56:43.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/telus.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":"2015-05-06T23:05:55.000Z","updated_at":"2017-04-24T19:26:43.000Z","dependencies_parsed_at":"2022-08-02T22:00:06.937Z","dependency_job_id":null,"html_url":"https://github.com/telus/ansible-logrotate","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telus%2Fansible-logrotate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telus%2Fansible-logrotate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telus%2Fansible-logrotate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telus%2Fansible-logrotate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/telus","download_url":"https://codeload.github.com/telus/ansible-logrotate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224816153,"owners_count":17374684,"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":[],"created_at":"2024-11-15T17:13:56.558Z","updated_at":"2024-11-15T17:13:57.100Z","avatar_url":"https://github.com/telus.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-logrotate\n\nlogrotate - rotates, compresses, and mails system logs\n\n[![Platforms](http://img.shields.io/badge/platforms-ubuntu-lightgrey.svg?style=flat)](#)\n[![Licence](https://img.shields.io/badge/Licence-MIT-blue.svg)](https://tldrlegal.com/license/mit-license)\n\nTunables\n--------\n* ```logrotate_name``` (string) - Name for logrotate script\n* ```logrotate_log_path``` (string) - Path for log to rotate\n* ```logrotate_create_logs_with_mode``` (string) - mode to create empty logfile with\n* ```logrotate_create_logs_with_owner``` (string) - owner for new logfile after rotation\n* ```logrotate_create_logs_with_group``` (string) - group for new logfile after rotation\n* ```logrotate_ignore_empty_logs``` (string) - Do not rotate logs if they are empty\n* ```logrotate_ignore_missing_logs``` (string) - Do not complain if logs are missing\n* ```logrotate_compression``` (string) - Compress logs after rotation?\n* ```logrotate_postpone_compression``` (string) - Compress logs the day after rotation?\n* ```logrotate_frequency``` (string) - How often to rotate logs?\n* ```logrotate_retention_limit``` (integer) - How many old logs to retain?\n* ```logrotate_notify_pidfile``` (string) - Pidfile of process to signal when rotation is complete\n* ```logrotate_notify_signal``` (string) - Signal to send when to process when rotation is complete\n* ```logrotate_prerotate_commands``` (list) - Commands to execute prior to rotation\n* ```logrotate_postrotate_commands``` (list) - Commands to execute after rotation\n\nDependencies\n------------\n* None\n\nExample Playbook\n----------------\n    - hosts: servers\n      roles:\n         - role: telusdigital.logrotate\n           logrotate_name: nginx\n\nContributors\n------------\n* [Aaron Pederson](https://aaronpederson.github.io) | [e-mail](mailto:aaronpederson@gmail.com) | [Twitter](https://twitter.com/GunFuSamurai)\n* [Chris Olstrom](https://colstrom.github.io/) | [e-mail](mailto:chris@olstrom.com) | [Twitter](https://twitter.com/ChrisOlstrom)\n* Nikki\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelus%2Fansible-logrotate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelus%2Fansible-logrotate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelus%2Fansible-logrotate/lists"}