Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
BioStar ansible recipe
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box_url = "" = "base"
# Default to localhost, otherwise 3(NXDOMAIN)
config.vm.hostname = "localhost"
config.vm.provision "ansible" do |ansible|
ansible.playbook = "deploy.yml"
# ansible.verbose = 'vvvv'
# ansible.inventory_path = '.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory'
ansible.extra_vars = { ansible_ssh_user: 'vagrant' }
end "forwarded_port", guest: 8080, host: 8080
config.vm.provider "virtualbox" do |vb|
# Use VBoxManage to customize the VM. For example to change memory:
# Needed, otherwise the JVM spills out of memory errors.
vb.customize ["modifyvm", :id, "--memory", "2048"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment