Review code used to setup the Workshop
After the fork completes, let’s look at the code/config that was used to create the runner VM that will run podman to host containerized runners for all workshop users. All workshop users will use this shared runner that was created previously.
Select the runner folder to view the contents. The create_vm_runner.yml is the playbook that creates a VM on Nutanix to host the runner. The cloud-init-runner.yml script is the cloud-init that is run after the VM is created to configure the runner. The vault file contains sensitive variables used by the playbook. The playbook decrypts the file at runtime to bring in the variables.
The README.md shows the command that was run to create the runner.
Ansible was also used to deploy four web servers that all users will use as nodes for the virtual server. The webservers directory contains the code/config for deploying them.