RousselTMLEARNING

TP · Ansible: from discovery to expertise

Installation

Create test environment #

We will use the "env_0" test environment composed of 3 VMs. To start it:

cd tp/env_0
vagrant up

For this lab, you will proceed with two installations using different modes. After each installation, Ansible must be configured to run with the "ansible" user. For this user, you will need to:
  • Configure an SSH key so they can access the other two machines.
  • Grant them sudo rights

pip #

You must install Ansible on the "rousseltm-ansible-v02" VM using "pip". You can use this command to connect to the VM:
vagrant ssh rousseltm-ansible-v02

Package manager #

You must identify the OS family and version of the "rousseltm-ansible-v01" VM and then use the correct package manager to install Ansible

Difficulty level : ●●○○○ (2/5)

My progress

  • ⏱ Estimated time : ≈ 15 min

🧪 Launch the lab environment ↗

Sign in to track your progress and take notes. Sign in

💬 Ask a question

Course Glossary

Ansible

An open source IT automation tool (IaC) enabling configuration management, application deployment, and orchestration, operating agentlessly via SSH.

Recommended Articles

Ansible : aller plus loin (tests, qualité, CI/CD et performance)

Industrialiser Ansible : ansible-lint, yamllint, Molecule, intégration continue, collections, exe...

Installer l'agent Datadog et configurer les intégrations

Installer l'agent Datadog sur Linux, Docker et Kubernetes (Datadog Operator), comprendre datadog....

Installer Grafana Tempo (Docker Compose, binaire et Helm)

Installer Grafana Tempo : configuration tempo.yaml, Docker Compose avec Grafana et Prometheus, po...

Installer Grafana Loki (Docker Compose, binaire et Helm)

Installer et valider Grafana Loki : configuration minimale, Docker Compose avec Grafana et Alloy,...

Bonnes pratiques Vagrant : des environnements reproductibles et rapides

Bonnes pratiques Vagrant : Vagrantfile versionné, boxes épinglées, provisioning idempotent, multi...

OneAgent : méthodes de collecte, installation, Kubernetes et santé

Les méthodes de collecte de Dynatrace (OneAgent, OpenTelemetry, Prometheus, API), l'installation ...

SigNoz : architecture et installation

Les composants de SigNoz (collecteur OpenTelemetry, ClickHouse, service de requêtes, interface, a...

Grafana Faro : architecture et installation

Installer Grafana Faro : le SDK web (npm ou CDN), le récepteur faro.receiver d'Alloy, l'envoi ver...

Installation de HAProxy

Guide complet pour installer HAProxy sur les serveurs Linux (Debian, RedHat) et via des environne...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!