refactoring of elastic roles
- extract java8 - extract elastic-source-listmunin-openbsd
parent
6a7f8ebe6d
commit
11083007d6
@ -0,0 +1,9 @@
|
||||
# elastic-source-list
|
||||
|
||||
Install Elastic sources list for APT.
|
||||
|
||||
## Tasks
|
||||
|
||||
Everything is in the `tasks/main.yml` file.
|
||||
|
||||
## Available variables
|
@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Elasticsearch is installed
|
||||
apt:
|
||||
name: elasticsearch
|
||||
update_cache: yes
|
||||
state: installed
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: Elasticsearch service is enabled
|
||||
service:
|
||||
name: elasticsearch
|
||||
enabled: yes
|
@ -0,0 +1,11 @@
|
||||
# java8
|
||||
|
||||
Install OpenJDK 1.8 (from jessie-backports)
|
||||
|
||||
## Tasks
|
||||
|
||||
Everything is in the `tasks/main.yml` file.
|
||||
|
||||
## Available variables
|
||||
|
||||
* `java8_default_alternative`: make this verison the default alternative (defaults to true)
|
@ -0,0 +1 @@
|
||||
java8_default_alternative: True
|
@ -0,0 +1,10 @@
|
||||
# logstash
|
||||
|
||||
Install Logstash.
|
||||
|
||||
## Tasks
|
||||
|
||||
Everything is in the `tasks/main.yml` file.
|
||||
|
||||
The pipeline must be configured before starting Logstash.
|
||||
https://www.elastic.co/guide/en/logstash/5.0/index.html
|
@ -0,0 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Logstash is installed
|
||||
apt:
|
||||
name: logstash
|
||||
update_cache: yes
|
||||
state: installed
|
||||
tags:
|
||||
- packages
|
||||
|
||||
- name: Logstash service is enabled
|
||||
service:
|
||||
name: logstash
|
||||
enabled: yes
|
Loading…
Reference in New Issue