Ansible playbook and Vagrantfile for recreating workstation. Tested with VirtualBox 5.2.16 and Vagrant 2.1.2
Includes:
- Xfce desktop
- Java
- Vim
- Eclipse
- Meld
- Git
- Docker
- Terraform
- Python 3
- AWS CLI
- Sublime Text 3
- Install VirtualBox
- Install Vagrant
- Install vagrant-vbguest plugin
Before using the box, copy personalize.yml.example
to personalize.yml
and edit the file with your information.
On first run, the box must be provisioned and then reloaded.
vagrant up
...wait for provisioning to complete...
vagrant reload
Once the box is provisioned and reloaded, it can be accessed via SSH or the GUI.
To access via SSH either use vagrant ssh
or use vagrant ssh-config
to generate a config for use in an SSH client.
Using vagrant ssh
will connect as the vagrant
user. If a config is generated, the user can be replaced with
the local_username
used in personalize.yml
To access the GUI, a password will need to be created. Connect as local_username
and set a password using passwd
command.
The password can then be used to login to the GUI.
Adding new generic roles can be done by creating a new role in the roles/
directory and updating playbool.yml
To customize the workstation in a non-generic way, add to the custom/
directory.