Hello, Everybody
Today we are going to learn how to install Ansible
Goto Web browser
and Search for "Ansible"
Ansible Official website will appear
Now Click on "Docs"
It will redirect you to Ansible website
You can Find here Lots of Documentation
Scroll down below
Click on "Installing Ansible"
You will find here installation process in different platform
Now Follow the steps as per your Operating System
Here mine is Ubuntu 16.04
Am Following procedure of  Ubuntu one
First of all need to Update Repository
Using "apt update". Here am using root user
It will take sometimes, Depends on your Internet Speed
Now Follow Others command as mentioned on video
Follow Others command as mentioned on video
Now Finally Its time to install "Ansible"
"apt install ansible"
We are almost there, Wait few more times
Press "Y" and "Enter"
Almost Done...
We have successfully Install Ansibe on Ubuntu
Type "ansible --help"
To Check command Syntax and help
Now goto "/etc/ansible"
Its default directory of Ansible
We can see 2 files here
"ansible.cfg" is the configuration file of ansible
"hosts" is the default inventory file
we will check the content inside "ansible.cfg"
you can change them as required
We will not change anything now
Same for the hosts file
have to add host device on this file
Now we will check ping module
using localhost IP
Yess, its worked
You can see "SUCCESS" message
Thats It. We have successfully Installed Ansible on Ubuntu
