GridVids
Sign in with YouTube

Ansible Automation | Performing User Management using Ansible

Mark watched
Don't Miss
Hide
Open in popup Open on YouTube

Yogesh Mehta 9 years ago

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.