Ansible is an open-source automation tool. Ansible can help you on the platform, configuration management, application deployment, intra-service orchestration, and provisioning. It is very simple to setup and more powerful tool. In other words, it frees up time and increases efficiency. Nowadays most of the Automation tools require agent but Ansible just need SSH connection and Python (2.4 and more).
Step 3: Create Ansible User with Passwordless login
To perform any action or any deployment from Ansible server to remote server you need to create a Ansible user in all the machines and need to configure the passwordless login from Ansible server to all the remote host. Also normal user has an rights to switch to the root without password.
On Remote Hosts:
Create user in all the remote host with root rights.
# useradd ansible # passwd ansible
Edit sudoers file and add the mention line.
# vim /etc/sudoers
ansible ALL=(ALL) NOPASSWD: ALL
On Ansible Server:
Follow mention steps on Ansible server.
Now you are ready to use Ansible automation tools. Here is few more configuration for Ansible. Edit Ansible configuration file and do the changes as per your requirement. I am just mentioning my configuration.