1.

Explain in detail how to install the Ansible?

Answer»

Let us learn about the procedures in detail:

1. It can be INSTALLED using Linux's best installation architecture.

  • In order to serve the purpose first add the repository to APT by using the command on terminal 'sudo apt-add-repository -y PPA: Ansible/Ansible'
  • Now update the repository by using the command 'sudo apt-get update'
  • Using the command 'sudo apt-get install -y Ansible' Ansible can be installed

2. with the help of Python installer:

  • First of all, install python on your local machine
  • Using the command 'sudo PIP install Ansible' on terminal install Ansible.
  • This can be updated with the command 'sudo pip install --upgrade Ansible'.

As soon as sensible that's installed on your system you can verify it with the help of command 'Ansible --version. This Ansible interview question has proved to be a tiebreaker in many conditions.

8. Explain how do Ansible works?

The major constituent of Ansible are nodes and controlling machines where Ansible is installed on controlling machine and nodes are used to manage these controlling machines with the help of SSH offering no downtime. With the help of inventory files, the controlling machine specifies the location of nodes.

Ansible also deploys modules to nodes with the help of SSH protocol and these modules get stored temporarily in remote nodes. These models can also COMMUNICATE with the Ansible machines with the help of the JSON connection over the standard output.



Discussion

No Comment Found