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.
26 lines
648 B
YAML
26 lines
648 B
YAML
---
|
|
# This will install all the client parts needed for elastic to monitor client computers
|
|
|
|
- name: Install elastic client programs
|
|
hosts: linux
|
|
|
|
tasks:
|
|
- name: Install elastic repo
|
|
include: install-repo.yml
|
|
|
|
- name: Install elastic heartbeat
|
|
become: true
|
|
apt:
|
|
name: heartbeat-elastic
|
|
|
|
- name: Configure elastic heartbeazt
|
|
include: config-heartbeat.yml
|
|
|
|
- name: Install elastic metricbeat
|
|
become: true
|
|
apt:
|
|
name: metricbeat
|
|
|
|
- name: Configure elastic metricbeat
|
|
include: config-metricbeat.yml
|