Create VM with Vagrant and configure Jenkins with Ansible
Prerequisites:
- Vagrant
- Ansible / optional depending on installation tool chosen (ansible role, or bash script)
Initiate provisioning running vagrant up
.
-
If Vagrantfile specifies provisioning with bash script (here, the default one), the script will run and install&configure Jenkins.
-
If Vagrantfile has defined provisioning
ansible
, once VM is provisioned, ansible role for Jenkins installation is triggered.
When Jenkins configuration is completed, the initial admin passwordpassword output will be displayed.