This video could not play here.
It may be members-only, region-restricted, or unavailable in embedded players.
Ansible Automation | Performing User Management using Ansible
User Management is one of the day 2 day System Administration tasks for the System Administrators. Though this is not a difficult task, but sometimes it becomes time consuming in the following scenarios
1.You don’t have central user management tool in your setup, such as Microsoft AD or LDAP. 2.Have to create local users for System/Application users, which can’t be AD integrated.
I have written a small playbook, which can be used for
1. Create local groups 2. Create local users. 3. Generate ssh keys for a user. 4. Update the public keys in user’s authorized_keys file. 5. Delete local groups. 6. Delete local users.