Ansible/playbook/linux/elastic/install-client.yml

26 lines
660 B
YAML
Raw Normal View History

---
# 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