elasticsearch-curator role
This commit is contained in:
parent
68536147bd
commit
5db6f786ff
2 changed files with 39 additions and 0 deletions
9
elasticsearch-curator/README.md
Normal file
9
elasticsearch-curator/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# elasticsearch-curator
|
||||
|
||||
Install Elasticsearch Curtor, for index management.
|
||||
|
||||
## Tasks
|
||||
|
||||
Everything is in the `tasks/main.yml` file.
|
||||
|
||||
## Available variables
|
30
elasticsearch-curator/tasks/main.yml
Normal file
30
elasticsearch-curator/tasks/main.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
|
||||
- name: APT https transport is enabled
|
||||
apt:
|
||||
name: apt-transport-https
|
||||
state: installed
|
||||
tags:
|
||||
- system
|
||||
- packages
|
||||
|
||||
- name: Elastic GPG key is installed
|
||||
apt_key:
|
||||
url: https://packages.elastic.co/GPG-KEY-elasticsearch
|
||||
state: present
|
||||
tags:
|
||||
- system
|
||||
- packages
|
||||
|
||||
- name: Curator sources list is available
|
||||
apt_repository:
|
||||
repo: "deb http://packages.elastic.co/curator/4/debian stable main"
|
||||
state: present
|
||||
tags:
|
||||
- system
|
||||
- packages
|
||||
|
||||
- name: Curator package is installed
|
||||
apt:
|
||||
name: elasticsearch-curator
|
||||
state: installed
|
Loading…
Add table
Reference in a new issue