I needed a quick way to get user account info from multiple Linux servers — without logging into each one.

So I put together a small shell script + Ansible playbook that:

Collects usernames, shells, UID, password expiry, etc.

Runs across your server group

Outputs CSV files for auditing

No extra agents, just SSH and a few lines of YAML.

👉 Full breakdown here:
https://technostress.blog/automate-user-account-inventory-across-linux-servers-using-ansible

Would love to hear how others are handling user audits at scale.