A launchpad to create training lab/workshops for DevOps tooling or any tool/technology using Ansible and Docker
https://www.slideshare.net/ArnabSinha36/ansible-docker-setting-up-your-own-workshop
Bootstrap host and Startup Lab (Default settings: creates 1 launchpad_lab group, lauchpad_lab1 user and one master container for the user)
./launchpad_lab.yml -t baseline,m_build_images,m_startup
Startup Lab with default settings:
./launchpad_lab.yml -t users,group,m_startup
Scale-up Lab or Start Lab for more users (example 3 users):
./launchpad_lab.yml -t users,group,m_startup -e users=3
Shutdown Lab with default settings:
./launchpad_lab.yml -t remove_group,remove_users,m_shutdown
Scale-down of Shutdown Lab for more users (example 3 users):
./launchpad_lab.yml -t remove_group,remove_users,m_shutdown -e users=3
- Create a directory as the same level of launchpadexamplehttpd
- Copy launchpad_looper.yml into the newly created directory
- Modify the Docker run section in the launchpad_looper.yml (like ports to be exposed etc.)
- Create a Dockerfile for the DevOps tooling or any tool/technology
- Startup and have fun!
./launchpad_lab.yml -t users,group,m_build_images,m_startup -e users=2 -e lab_name=name_of_the_directory
./launchpad_lab.yml -t remove_group,remove_users,m_shutdown -e users=2 -e lab_name=name_of_the_directory