In our vagrant file we've couple of triggers.By default I would like to run all triggers which is working fine. is there any way to skip the Vagrant triggers from command line?
Vagrantfile
config.trigger.before [:provision] do
puts "> Running gradle "
gradlew 'quickCompile'
end
config.trigger.after [:provision] do
puts "> Running gradle to check database"
gradlew 'checkDB'
end
vagrant v1.8.1
This is something you can - refer to the documentation
Triggers won't run if
VAGRANT_NO_TRIGGERS
environment variable is set.
so you can just set the variable to true
and your triggers will be skipped
As part of the migration to the trigger plugin to vagrant core, the env variable is not available anymore