mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2025-09-08 21:49:29 +00:00
init
This commit is contained in:
23
Vagrantfile
vendored
Normal file
23
Vagrantfile
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
IP='192.168.100.150'
|
||||
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'
|
||||
config.vm.network :private_network, ip: IP
|
||||
|
||||
if Vagrant.has_plugin?('landrush')
|
||||
config.landrush.enabled = true
|
||||
config.landrush.tld = 'vm.apidb.org'
|
||||
config.landrush.host 'redmine.vm.apidb.org', IP
|
||||
config.landrush.host_ip_address = IP
|
||||
end
|
||||
|
||||
config.vm.provision :ansible do |ansible|
|
||||
ansible.playbook = 'playbook.yml'
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user