--- - name: restart logstash systemd: name: logstash state: restarted