Ansible - GradedJestRisk/cicd-training GitHub Wiki

Ansible

Overview

Doc

Ansible is an automation tool :

  • that run command;
  • from a host, called the control node;
  • on remote hosts (target), called managed nodes;
  • using SSH.

It does not require a client to be installed on the target.

It can be tested locally.

Variables : variables to be interpolated on template rendering

Tasks : the script to run on the hosts, templated

Inventory: list of remote with their IP

Playbook : a list of tasks

Run locally

Linux

Guide

In WSL

Doc