Skip to content

Instantly share code, notes, and snippets.

@babo
Created June 5, 2015 12:52
Show Gist options
  • Save babo/3592e1883aaf8c6608bd to your computer and use it in GitHub Desktop.
Save babo/3592e1883aaf8c6608bd to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/vivid64"
config.vm.network "forwarded_port", guest: 2375, host: 2375, auto_correct: true
config.vm.network :private_network, ip: "172.17.8.100"
config.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = "1024"
end
config.vm.provision "ansible" do |ansible|
ansible.sudo_user="vagrant"
ansible.sudo=true
ansible.playbook = "provisioning/playbook.yml"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment