diff --git a/README.md b/README.md index 2868ea7df9ced93d0896bc3d195afe161c818465..108ea7bbe4167d89127cb4c1f1399f645badb966 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,9 @@ ansible-user-management ======================= Ansible role to manage user accounts on hosts + +This projects was triggered by a thread in Google groups (https://groups.google.com/forum/#!topic/ansible-project/chJu26GkPlw) and is in its early stage. + +Currently, this role looks into the /etc/passwd file and locks all the users that are not available in a users hash of your Ansible inventory. All others get unlocked. + +Locking a user means to lock the user's password (usermod --lock USERNAME) and to remove $HOME/.ssh/authorized_keys to also make sure that those users can no longer get access with their private key.