16 строки
393 B
Ruby
16 строки
393 B
Ruby
BOX_NAME = ENV['VAGRANT_BOX_NAME'] || 'deb/jessie'
|
|
|
|
Vagrant.configure('2') do |config|
|
|
config.vm.box = BOX_NAME
|
|
config.vm.provision 'ansible' do |ansible|
|
|
ansible.playbook = 'vagrant/site.yml'
|
|
ansible.limit = 'all'
|
|
ansible.sudo = true
|
|
ansible.host_key_checking = false
|
|
end
|
|
|
|
config.vm.define 'rabbit-standalone' do |c|
|
|
c.vm.host_name = 'rabbit-standalone'
|
|
end
|
|
end
|