RousselTMLEARNING

TP · Ansible: from discovery to expertise

Setting up the test environment

Oracle VM virtualbox #

We will use Virtualbox to deploy our test VMs. Some labs will be done on Docker, so if you already have a Docker engine, you can use it instead of deploying a new VM.

You must proceed with the installation of Virtualbox by following the procedure corresponding to your system:

https://www.virtualbox.org/wiki/Downloads

Hashicorp Vagrant #

We will use Vagrant to automatically deploy test environments. To learn more about Vagrant, you can follow our dedicated training.

You must proceed with the installation of Vagrant by following the procedure corresponding to your system:

https://developer.hashicorp.com/vagrant/install

From concept to expertise #

We have preconfigured a git repo for the training.

  1. Git repo

    You can use the command below to clone the repo:

    git clone https://github.com/RousselTM/ansible-formation.git
  2. Choice of environment

    The configurations for the test environments are located in the tp folder. In this folder there are several subfolders, each corresponding to a test environment: simple VM, VM with Docker, VM with application... Depending on the lab, we will specify which one to use:

    cd ansible-formation/tp/REP
  3. Environment creation

    Once in the folder corresponding to the desired environment, you can start the environment creation on Virtualbox with the following Vagrant command:

    vagrant up

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

My progress

  • ⏱ Estimated time : ≈ 21 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...

Ansible : l'inventaire (statique, dynamique, groupes et variables)

Comprendre et maîtriser l'inventaire Ansible : fichiers INI et YAML, groupes, variables d'hôte et...

Ansible : structurer son code avec les rôles

Créer, organiser et réutiliser des rôles Ansible : arborescence, defaults, tasks, handlers, templ...

Ansible : gérer la sécurité (Vault, SSH, privilèges et secrets)

Sécuriser Ansible : Ansible Vault, authentification SSH par clés, become et sudo, no_log, durciss...

Ansible : piloter ses automatisations avec une interface graphique (AWX, Semaphore, AAP)

Comparer et installer les interfaces graphiques d'Ansible : AWX, Ansible Automation Platform, Sem...

Bonnes pratiques Ansible : structure, idempotence, sécurité et qualité

Les bonnes pratiques Ansible : organisation du projet, nommage, FQCN, idempotence, modules plutôt...

ActiveGate et network zones : architecture, routage et haute disponibilité

Comprendre et déployer ActiveGate dans Dynatrace : rôles (routage, API, intégrations cloud, exten...

Ansible : les commandes Ad-Hoc

Exécuter des actions immédiates sur un parc de serveurs avec ansible : modules ping, command, she...

Ansible : générer des fichiers dynamiques avec Jinja2 et les facts

Créer des fichiers de configuration dynamiques : templates Jinja2, variables, facts, filtres, bou...

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!