1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-12-16 07:20:36 +00:00
vagrant-easyredmine/Vagrantfile

25 lines
637 B
Ruby
Raw Normal View History

2015-11-11 16:43:48 +00:00
Vagrant.configure(2) do |config|
config.ssh.forward_agent = 'true'
config.vm.box = "ebrc/centos-7.1-64-nocm"
config.vm.box_url = 'http://software.apidb.org/vagrant/centos-7.1-64-nocm.json'
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-11-22 02:48:30 +00:00
config.vm.provision 'bootstrap', type: 'ansible' do |ansible|
ansible.playbook = 'bootstrap.yml'
end
config.vm.provision 'deploy', type: 'ansible' do |ansible|
2015-11-11 16:43:48 +00:00
ansible.playbook = 'playbook.yml'
end
end