a little helperrole for ansible to lockout old forgotten Linux-X11-Sessions
git clone https://github.com/borwinius/lockedsessions.git
terminate_sessions
:true
terminate all locked sessionsfalse
display only all locked sessionsinclude it in your own rolefile role/MYROLE/tasks/main.yaml
- include_role:
name: helper/lockedsessions
when:
- terminate_sessions is defined