Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3.  
  4. # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
  5. VAGRANTFILE_API_VERSION = "2"
  6.  
  7. Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  8. config.vm.box = "ubuntu/trusty64"
  9. config.vm.define :uiserver do |uiserver_config|
  10. uiserver_config.vm.network :private_network, ip: "10.0.0.11",
  11. :netmask => "255.255.255.0",
  12. :gateway => "10.0.0.1"
  13. uiserver_config.vm.hostname = "uiserver"
  14. end
  15.  
  16. config.vm.define :dsserver do |dsserver_config|
  17. dsserver_config.vm.network :private_network, ip: "10.0.0.31",
  18. :netmask => "255.255.255.0",
  19. :gateway => "10.0.0.1"
  20. dsserver_config.vm.hostname = "dsserver"
  21. dsserver_config.vm.provider :virtualbox do |vb|
  22. vb.customize ["modifyvm", :id, "--memory", "1024"]
  23. end
  24. end
  25. config.vm.provision "ansible" do |ansible|
  26. ansible.playbook = "deploy.yml"
  27. ansible.verbose = "vvv"
  28. end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement