Commit f266e4cd authored by Daniel Berman's avatar Daniel Berman Committed by GitHub
Browse files

Update main.yml

parent 267a6fc2
......@@ -2,14 +2,17 @@
#
# Installing Metricbeat
#
# Enable Metricbeat service
- name: Enabling Metricbeat service
systemd:
name: metricbeat
enabled: yes
daemon_reload: yes
# Start Metricbeat service
- name: Starting Metricbeat service
systemd:
# Install Metricbeat
- name: Install Metricbeat with apt
apt:
name: metricbeat
update_cache: yes
# Starting Metricbeat
- name: Starting Metricbeat
service:
name: metricbeat
state: started
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment