Ansible Create Local User Ansible is a powerful automation tool that can help you manage and automate your infrastructure. One of the many things that Ansible can do is create and manage users, including the ability to add SSH keys for secure access. In this blog post, we will go over how to use Ansible to create a new user and add an SSH key for that user.
First, we need to create a new Ansible playbook.
Ansible intro Ansible is a configuration management tool developed and maintained by RedHat. It can be used to install, remove, start, stop, restart and manage configuration files for services on your systems. Ansible can automate the state of a set of services and configuration files across an environment no matter the size of it. Your infrastructure can be composed of a small set of servers or a large environment across different regions.