Merge pull request #2303 from eggsby/ansible
provisioners/ansible: fixing default verbosity
This commit is contained in:
commit
cfce5a4660
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue