James Tombleson
02c5a9c632
Install-Client and Install-Server are now valid. They will install what is needed per the hosts file. Computers in Linux will get client and computers in Elastic will get server.
28 lines
618 B
YAML
28 lines
618 B
YAML
---
|
|
# This will install all elastic services for a elastic server
|
|
# ElasticSearch
|
|
# Kibana
|
|
|
|
- name: Install Elastic server programs
|
|
hosts: elastic
|
|
|
|
tasks:
|
|
- name: Install Requrements
|
|
include: install-repo.yml
|
|
|
|
- name: Install ElasticSearch from apt
|
|
become: true
|
|
apt:
|
|
name: elasticsearch
|
|
|
|
- name: Configure ElasticSearch
|
|
include: config-elasticsearch.yml
|
|
|
|
- name: Install Kibana from apt
|
|
become: true
|
|
apt:
|
|
name: kibana
|
|
|
|
- name: Configure Kibana
|
|
include: config-kibana.yml
|