Settig up Learning Environment

Option 1: Setting up a Vagrant based environment

Install VirtualBox and Vagrant

VirtualBox 5.1.26
Vagrant 1.9.7

Importing a VM Template

vagrant box list

vagrant box add ansible

vagrant box list

Provisioning Vagrant Nodes

Clone repo if not already

git clone

Launch environments with Vagrant

cd lab-setup/ansible/codespace

vagrant up

Login to node


cd lab-setup/ansible/codespace
vagrant ssh
sudo su

You could also visit to access the codespaces env.

Option 2: Setting up a codespaces environment with Docker

  • Clone the git repo
git clone

Start Codespaces IDE

After installing Docker-Engine and Docker-Compose, change directory into the corresponding tool you want to learn. For example, let us assume that you want to learn puppet. In that case,

cd cs-ansible

Then all you need to do is to run

docker-compose up -d

This single command will initialize your Codespaces IDE.

Use Codespaces IDE

To use Codespaces IDE,

  • Open your browser.
  • Visit your machine's IP with port 8000. (Ex.
  • You will be asked for your e-mail address. Enter it and you are good to go.


  • Now you will be presented with the Codespaces IDE console.