Test application to mess around with provisioning containers with Vagrant and Ansible.
- Vagrant must be installed (see
./installs
) - VirtualBox must be installed (see
./installs
) - Hyper-V must be disabled
- The guest ansible Vagrant plugin must be installed
To create and configure the virtual machine:
> vagrant up
To ssh into the virtual machine:
> vagrant ssh
To stop the virtual machine:
> vagrant halt
To destroy the virtual machine and associated resources:
> vagrant destroy
To connect to the virtual machine using SSH:
> vagrant ssh
Alternatively, to connect to the created user account using SSH:
> ssh -i <private-key> ajones@localhost -p 2222