A Vagrant configuration file to setup an Ansible Tower Lab to test it.
- VirtualBox https://www.virtualbox.org/wiki/Downloads
- Vagrant https://www.vagrantup.com/downloads
- Git for Windows https://git-scm.com/downloads
- Mobaxterm (Optional) https://mobaxterm.mobatek.net/download.html
- Microsoft Visual Code (or your own prefered text editor) https://code.visualstudio.com/download
- Postman https://www.postman.com/downloads/
- HeidiSQL https://www.heidisql.com/download.php
- Ubuntu for Windows 10 https://ubuntu.com/tutorials/ubuntu-on-windows#1-overview
You can find the complete list here
Once you have all the prerequisites covered you have to download the Vagrant configuration file from this repository:
git clone https://github.com/karkul/ansiblelab.git
Note: you shuld open a git bash shell or use a git GUI client
Then change to the new directory created:
cd ansiblelab
Then run vagrant up
wait... and ¡Voila! you have your own Ansible Tower lab.
Note: if you want to add more hosts to test you must change the value of the
NodeCount
variable in theVagrantfile
and runvagrant reload
from your terminal to add the new nodes.
You can get access to the new boxes created by Vagrant running the command:
vagrant ssh <BOX_NAME>
In the case that you want to get access to those boxes directly through the Virtualbox console interface, you can use the follow credentials.
Username: vagrant
Password: vagrant
For more information about how to adjust the Vagrantfile
please refer to here
At least please join us in our Slack #automation2021 channel and be part of our community!