Merge pull request #2303 from eggsby/ansible

provisioners/ansible: fixing default verbosity
This commit is contained in:
Mitchell Hashimoto 2013-10-02 08:12:21 -07:00
commit cfce5a4660
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ module VagrantPlugins
# Joker! Not (yet) supported arguments can be passed this way. # Joker! Not (yet) supported arguments can be passed this way.
options << "#{config.raw_arguments}" if config.raw_arguments options << "#{config.raw_arguments}" if config.raw_arguments
# Append Provisioner options (higher precedence): # Append Provisioner options (highest precedence):
if config.extra_vars if config.extra_vars
extra_vars = config.extra_vars.map do |k,v| extra_vars = config.extra_vars.map do |k,v|
v = v.gsub('"', '\\"') v = v.gsub('"', '\\"')
@ -90,8 +90,8 @@ module VagrantPlugins
elsif config.verbose.to_s == 'extra' elsif config.verbose.to_s == 'extra'
return '-vvv' return '-vvv'
else else
# fall back to default verbosity # fall back to default verbosity (which is no verbosity)
return '--verbose' return ''
end end
end end