2015-03-13 20:55:33 +00:00
|
|
|
# vi: set ft=ruby
|
|
|
|
|
|
|
|
require 'rbconfig'
|
|
|
|
|
|
|
|
ROLE_NAME = 'samba'
|
|
|
|
HOST_NAME = 'test' + ROLE_NAME
|
|
|
|
VAGRANTFILE_API_VERSION = '2'
|
|
|
|
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
2015-11-05 09:42:02 +00:00
|
|
|
config.vm.box = 'bertvv/centos71'
|
2015-03-13 20:55:33 +00:00
|
|
|
config.vm.define HOST_NAME do |node|
|
|
|
|
node.vm.provision 'ansible' do |ansible|
|
2015-03-13 23:37:24 +00:00
|
|
|
ansible.playbook = 'test-full.yml'
|
2015-03-13 20:55:33 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|