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)

Course Glossary

Ansible

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