mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
30 lines
606 B
Ruby
30 lines
606 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
config.vm.define "debian" do |web|
|
|
web.vm.box = "debian/stretch64"
|
|
|
|
web.vm.provider "virtualbox" do |vb|
|
|
vb.memory = "512"
|
|
end
|
|
end
|
|
|
|
config.vm.define "xenial" do |web|
|
|
web.vm.box = "ubuntu/xenial64"
|
|
|
|
web.vm.provider "virtualbox" do |vb|
|
|
vb.memory = "512"
|
|
end
|
|
end
|
|
|
|
config.vm.provision :ansible do |ansible|
|
|
ansible.playbook = "playbook.yml"
|
|
ansible.groups = {
|
|
"all" => ["debian", "xenial"]
|
|
}
|
|
ansible.raw_arguments = ["-u vagrant"]
|
|
end
|
|
|
|
end
|