What is ansible?
Ansible It is a platform free software to configure and manage computers. It combines multi-node installation, ad hoc task executions and configuration management. Additionally, Ansible is categorized as an orchestration tool.1handle nodes through SSH and requires no additional remote software (except Python 2.4 or later2to install it. It has modules that work on JSON and standard output can be written in any language. Natively uses YAML to describe reusable system configurations.3​
We update and install the necessary packages
Installation from source:
sudo apt update
sudo apt install make git make python-setuptools gcc python-dev libffi-dev libssl-dev
sudo pip install sphinxWe download Ansible
git clone https://github.com/ansible/ansibleWe access the directory:
cd ansibleWe list all stable versions
git branch -a | grep stable
remotes/origin/stable-1.9
remotes/origin/stable-2.0
remotes/origin/stable-2.0-network
remotes/origin/stable-2.0.0.1
remotes/origin/stable-2.1
remotes/origin/stable-2.2
remotes/origin/stable-2.3We select the version we want to install:
sudo git checkout stable-2.3We compile and install
sudo make && sudo make installTo install it via repository:
apt install ansibleAll the best
:wq!
Comments