summaryrefslogtreecommitdiffstats
path: root/Vagrantfile
diff options
context:
space:
mode:
authorSebastin Santy <sebastinssanty@gmail.com>2017-06-08 19:37:52 +0200
committerDylan William Hardison <dylan@hardison.net>2017-06-08 19:37:52 +0200
commit0a7f9d271efb4f97aaddcb39c173e986f5357d59 (patch)
treeabf505007669982c23f3c0b125ee5651a78feba1 /Vagrantfile
parentef7f6526d83caf6a39dc8ed6c96a2c8675ae4011 (diff)
downloadbugzilla-0a7f9d271efb4f97aaddcb39c173e986f5357d59.tar.gz
bugzilla-0a7f9d271efb4f97aaddcb39c173e986f5357d59.tar.xz
Skipping some steps in ansible for rapid debugging (#92)
* Adding --no-templates to checksetup * my proposed changes
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 96faf1392..2a1c4e9c4 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -36,7 +36,7 @@ Vagrant.configure('2') do |config|
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
- config.vm.provision 'ansible_local', run: 'always' do |ansible|
+ config.vm.provision 'main', type: 'ansible_local', run: 'always' do |ansible|
ansible.playbook = 'vagrant_support/playbook.yml'
ansible.extra_vars = {
WEB_IP: WEB_IP,
@@ -47,6 +47,12 @@ Vagrant.configure('2') do |config|
}
end
+ if ARGV.include? '--provision-with'
+ config.vm.provision 'update', type: 'ansible_local', run: 'never' do |update|
+ update.playbook = 'vagrant_support/update.yml'
+ end
+ end
+
config.vm.define 'db' do |db|
db.vm.box = 'centos/6'