ontic.logrotate
Ontic Logrotate 
Branch | Build | Galaxy | Release |
---|---|---|---|
master |
Introduction
This tool helps you install Logrotate on RedHat/CentOS and Debian/Ubuntu Linux servers.
Requirements
Name | Version |
---|---|
None | N/A |
Installation
We highly recommend installing this tool using Ansible Galaxy. This way, it will automatically handle any necessary downloads. Here are some other options:
1.1 Downloading
You can download the project files as a .zip
file and extract them into your ./roles/
folder.
1.2 Cloning
You can also clone the project into your ./roles/
folder.
1.3 Ansible Galaxy
The easiest way to install this tool is through the command line:
$ ansible-galaxy install ontic.logrotate
If you need to install multiple tools, you can use a requirements.yml
file with the ansible-galaxy command.
- src: ontic.logrotate
$ ansible-galaxy install -r requirements.yml
Alternatively, you can get the source code by adding it to your requirements.yml
like this:
- src: git+https://github.com/ontic/ansible-role-logrotate.git
version: master
name: ontic.logrotate
2.1 Enabling
You need to activate the role in your playbook file.
- name: Example web server
hosts: web_servers
roles:
- { role: ontic.logrotate }
Documentation
You can find complete documentation in the docs folder.
Contributors
Here are the people who have helped with this project. If you'd like to contribute, please feel free to make a pull request or report an issue.
License
This project is licensed under the BSD License. For more information, refer to the LICENSE file.