Earlier article we installed Ansible in our Linux ansible server. As next part, we will be adding admin user for ansible server.
Following command is used to add user.
useradd -d /home/ansadmin -m ansadmin
Lets see in Linux in a shell output.
As bash shell output indicates, we added a user with name "ansadmin". We assigned a home directory to it and verified if it is added with checking out passwd file side with grepping.