James Tombleson
3f49a5fe88
After trying to go down the path of editing the configs with inline I am going to change over to a template file and see if I can get that to work better for me. At least Elastic will now let me hit the REST.
26 lines
660 B
YAML
26 lines
660 B
YAML
---
|
|
# This will install all the client parts needed for elastic to monitor client computers
|
|
|
|
- name: Install elastic client programs
|
|
hosts: elasticClients
|
|
|
|
tasks:
|
|
- name: Install elastic repo
|
|
include: install-repo.yml
|
|
|
|
#- name: Install elastic heartbeat
|
|
#become: true
|
|
#apt:
|
|
#name: heartbeat-elastic
|
|
|
|
#- name: Configure elastic heartbeat
|
|
#include: config-heartbeat.yml
|
|
|
|
- name: Install elastic metricbeat
|
|
become: true
|
|
apt:
|
|
name: metricbeat
|
|
|
|
- name: Configure elastic metricbeat
|
|
include: config-metricbeat.yml
|