82d5bd7d16
Role will now test if a log exist (and hence the application exists on the host before writing a logrotate config to the server.
546 B
546 B
ansible-logrotate-plusplus
Ansible role which installs and configures logrotate It can test if paths exist before writing a logrotate config to the server. Load the roles default vars with custom paths and per path parameters, and run the playbook across a dynamic infrastructure and only write logerotate rules to the appropriate system with the correct paths present.
This project was based of https://github.com/arillso/ansible.logrotate 1.5.2
(038649f793
)