Skip to content

Instantly share code, notes, and snippets.

@mmarcon
Created September 4, 2015 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmarcon/64c384c9c5e52f77662f to your computer and use it in GitHub Desktop.
Save mmarcon/64c384c9c5e52f77662f to your computer and use it in GitHub Desktop.
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = false
vb.memory = "512"
end
# Use Ansible for provisioning and load playbook.yml
config.vm.provision :ansible do |ansible|
ansible.playbook = "playbook.yml"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment