mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2025-09-08 21:49:29 +00:00
improve Ansible support for production vs vagrant installs
This commit is contained in:
9
Vagrantfile
vendored
9
Vagrantfile
vendored
@@ -2,8 +2,7 @@ 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.box = "ebrc/centos-7-64-puppet"
|
||||
|
||||
config.vm.hostname = 'redmine.vm.apidb.org'
|
||||
config.vm.network :private_network, type: 'dhcp'
|
||||
@@ -13,9 +12,9 @@ Vagrant.configure(2) do |config|
|
||||
config.landrush.tld = 'vm.apidb.org'
|
||||
end
|
||||
|
||||
config.vm.provision 'bootstrap', type: 'ansible' do |ansible|
|
||||
ansible.playbook = 'bootstrap.yml'
|
||||
end
|
||||
# config.vm.provision 'bootstrap', type: 'ansible' do |ansible|
|
||||
# ansible.playbook = 'bootstrap.yml'
|
||||
# end
|
||||
|
||||
config.vm.provision 'deploy', type: 'ansible' do |ansible|
|
||||
ansible.playbook = 'playbook.yml'
|
||||
|
Reference in New Issue
Block a user