--- - name: restart node_exporter systemd: name: node_exporter state: restarted daemon_reload: yes