Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samdoran/ansible-role-elasticsearch-curator
https://github.com/samdoran/ansible-role-elasticsearch-curator
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/samdoran/ansible-role-elasticsearch-curator
- Owner: samdoran
- Created: 2016-09-19T21:46:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-19T21:46:56.000Z (over 8 years ago)
- Last Synced: 2024-11-01T09:14:33.659Z (about 2 months ago)
- Language: Ruby
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Elasticsearch Curator
=========Elasticsearch Curator is a tool for mananging indices stored in Elasticsearch. It can close, delete, snapshot, and optimize indices. See the [official documentanion](https://www.elastic.co/guide/en/elasticsearch/client/curator/3.5/index.html) for details.
Requirements
------------Access to the Elasticsearch database that Curator will manage.
Role Variables
--------------| Name | Default Value | Description |
|-------------------|---------------------|----------------------|
| `curator_version` | `3` | Major version of `curator` to install. |
| `curator_jobs` | `[see defaults/main.yml` | Cron jobs that run `curator`. Read the [official documentation](https://www.elastic.co/guide/en/elasticsearch/client/curator/3.5/index.html) in order construct the commands. |
| `curator_repo_dir` | `[OS dependent]` | Path where repository file is created. See `vars/(RedHat|Debian).yml` |
| `curator_repo_file` | `[OS dependent` | Name of repository file. See `vars/(RedHat|Debian).yml` |
| `curator_package_list` | `[OS dependent]` | List of packages to install when installing `curator`. See `vars/(RedHat|Debian).yml` |Dependencies
------------samdoran.repo-epel (CentOS/RHEL 6 only)
Example Playbook
----------------Only run the role on the first host in the group of elasticsearch nodes.
- hosts: elasticsearch
roles:
- { role: curator, when: ansible_hostname == groups['elasticsearch'][0] }License
-------MIT