Unix-Thrust Vagrant boxes for automatic testing
# Clone unix-vagrant
# All the available projects are provisionned with ansible
git clone https://github.com/unix-thrust/unix-vagrant.git
Available VMs:
- debian7 (wheezy)
- debian8 (jessie)
- ubuntu (server edition trusty64)
- fedora21 (server edition)
- centos (v7.0)
- freebsd (v10)
(the complete list of available VMs can be found in the
Vagrantfile
)
# Launch all VMs:
vagant up
# Launch a specific VMs:
vagrant up [name]
# Exemple:
vagrant up debian7
vagrant ssh debian7
Available projects are stored as submodules in the ~/project
shared VM directory
# NOTE: the VM is automatically provisionned on the first 'vagrant up'
vagrant provision debian7
# Halt all VM:
vagant halt
# Halt a specific VM:
vagrant halt debian7
Enjoy :)
Vagrant auto-generate a inventory file in .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory We can use this file for debug purpose with ansible:
# Get information discovered from the VM:
ansible debian7 -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -m setup -k --user vagrant