View more in

Managing OS users with Ansible across multiple environments

Cover picture for the articleI’ve been using Ansible for managing OS users last five years or so. Ansible built-in User module is quite handy and easy to use. There are many ready to use roles on Ansible Galaxy and Github with mostly the same functionality. But the Ansible itself implies an imperative way of doing things. Creating a user is quite an easy task, but managing users across multiple environments with hundreds and thousands of servers could be tricky. And maybe using tools like Puppet or Salt sound like a better idea for managing users in huge enterprise with complex hierarchy. But maybe this not necessary, and there is a way how to adapt our roles for large-scale environments.