--- - name: restart logstash systemd: name: logstash state: restarted daemon_reload: yes - name: reload systemd systemd: daemon-reload: yes