--- - name: restart systemd-logind.service systemd: name: systemd-logind.service state: restarted