# -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.synced_folder "./vagrant_share/", "/vagrant", disabled: true config.vm.network "forwarded_port", guest: 80, host: 8081, auto_correct: true config.vm.network "forwarded_port", guest: 53, host: 53, auto_correct: true # config.vm.provider :virtualbox do |v| # v.memory = 1024 # v.cpus = 1 # v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] # v.customize ["modifyvm", :id, "--ioapic", "on"] # end config.vm.provider :libvirt do |libvirt| # libvirt.storage :file, :size => '10G', :device => 'vdb' libvirt.memory = 1024 libvirt.cpus = 1 end # Jessie config.vm.define :jessie do |node| node.vm.hostname = "jessie" node.vm.box = "debian/jessie64" node.vm.provision :ansible do |ansible| ansible.limit = "jessie" ansible.playbook = "vagrant.yml" # ansible.tags = "mysql" ansible.raw_arguments = [ "-b", "--ask-vault-pass", # "--diff", # "--step", # "--syntax", # "-vvv", ] end end end