Ansible/roles/luther38.metricbeat/archive/config-metricbeat.yml
James Tombleson fad12ff06d Did some cleanup
Added heartbeat role
moved scripts to LinuxHelpers repo
Moved old config files to the roles for archive.
2019-05-06 15:50:26 -07:00

27 lines
527 B
YAML

# - name: enable modules
- name: enable system module
become: true
shell: metricbeat modules enable system
#- name: start metricbeat service
# become: true
#shell: metricbeat service metricbeat start
- name: systemd - daemon reload
become: true
systemd:
daemon_reload: yes
- name: Enable service on system startup
become: true
systemd:
name: metricbeat
enabled: yes
- name: systemd - restart Metricbeat
become: true
systemd:
name: metricbeat
state: restarted