--- - name: Restart systemd-logind become: true systemd: name: systemd-logind state: restarted