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