2015-11-11 16:43:48 +00:00
|
|
|
Vagrant.configure(2) do |config|
|
|
|
|
|
|
|
|
config.ssh.forward_agent = 'true'
|
|
|
|
|
2015-12-27 20:37:23 +00:00
|
|
|
config.vm.box = "ebrc/centos-7-64-puppet"
|
2015-11-11 16:43:48 +00:00
|
|
|
|
|
|
|
config.vm.hostname = 'redmine.vm.apidb.org'
|
2015-11-20 18:50:50 +00:00
|
|
|
config.vm.network :private_network, type: 'dhcp'
|
2015-11-11 16:43:48 +00:00
|
|
|
|
|
|
|
if Vagrant.has_plugin?('landrush')
|
|
|
|
config.landrush.enabled = true
|
|
|
|
config.landrush.tld = 'vm.apidb.org'
|
|
|
|
end
|
|
|
|
|
2015-12-27 20:37:23 +00:00
|
|
|
# config.vm.provision 'bootstrap', type: 'ansible' do |ansible|
|
|
|
|
# ansible.playbook = 'bootstrap.yml'
|
|
|
|
# end
|
2015-11-22 02:48:30 +00:00
|
|
|
|
|
|
|
config.vm.provision 'deploy', type: 'ansible' do |ansible|
|
2015-11-11 16:43:48 +00:00
|
|
|
ansible.playbook = 'playbook.yml'
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|