Home Linux & Systems Cybersecurity Cloud & DevOps Networks & Infrastructure SIEM & Monitoring DFIR & Threat Intel Development & Other All categories Projects About Tools

Install ansible on Debian 9

Leer en espanol
Install ansible on Debian 9

Table of contents

Ansible is a free software platform for configuring and managing computers. Combines multi-node installation, ad hoc task execution and configuration management ===

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:

Bash
sudo apt update

sudo apt install make git make python-setuptools gcc python-dev libffi-dev libssl-dev

sudo pip install sphinx

We download Ansible

text
git clone https://github.com/ansible/ansible

We access the directory:

text
cd ansible

We list all stable versions

text
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.3

We select the version we want to install:

Bash
sudo git checkout stable-2.3

We compile and install

Bash
sudo make && sudo make install

To install it via repository:

Bash
apt install ansible

All the best

:wq!

Comments