To get started with the Ansible Lab, follow the steps below:
First, clone the hands-on Ansible repository to your local machine:
git clone https://github.com/opensourceops/hands-on-ansible ~/hands-on-ansibleNavigate to the cloned directory and launch the lab using Docker Compose:
cd ~/hands-on-ansible
docker-compose up -dYou should see output similar to the following:
Creating remote3 ... done
Creating remote1 ... done
Creating controlnode ... done
Creating remote4 ... done
Creating remote2 ... done
To check the status of your lab, run the following script:
./script/ansible-lab-status.shThis script will provide you with the current status of the lab environment.
Feel free to adjust any parts of the tutorial as needed!