[TP] Setting up the test environment
What you will learn in this TP :
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.
-
Git repo
You can use the command below to clone the repo:
git clone https://github.com/RousselTM/ansible-formation.git -
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 -
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
Warning: Undefined array key "correction" in /usr/share/nginx/html/formation/template-session.php on line 756
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /usr/share/nginx/html/formation/template-session.php on line 756