--- - name: restart metricbeat systemd: name: metricbeat state: restarted