elasticsearch-curator role

This commit is contained in:
Jérémy Lecour 2016-11-22 15:30:28 +01:00 committed by Jérémy Lecour
parent 68536147bd
commit 5db6f786ff
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# elasticsearch-curator
Install Elasticsearch Curtor, for index management.
## Tasks
Everything is in the `tasks/main.yml` file.
## Available variables

View 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