Introduction: Ansible is a configuration management and provisioning tool, similar to Chef, Puppet or Salt.Configuration management systems are designed for controlling large numbers of servers easy for administrators and operations teams. They allow you to control many different systems in an automated way from one central location.
There are many popular configuration management systems available for Linux systems, such as Chef and Puppet, these are often more complex than many people want or need. Ansible is written in Python and uses SSH to execute commands on different machines. Ansible uses YML to describe work.
Install And Configure Ansible on Ubuntu: Run the below command to install and configure ansible on Ubuntu.
sudo yum install ansible
We’ll assume you are using SSH keys for authentication. To set up SSH agent to avoid retyping passwords, you can run the below command.
ssh-keygen ssh-agent bash ssh-add ~/.ssh/id_rsa
Configuring Ansible Hosts: Ansible keeps track…
View original post 209 more words