Merge pull request #1979 from bmabey/patch-1
provisioners/ansible: adds extra verbosity option
This commit is contained in:
commit
99a51a1ba8
|
@ -32,7 +32,9 @@ module VagrantPlugins
|
|||
|
||||
options << "--sudo" if config.sudo
|
||||
options << "--sudo-user=#{config.sudo_user}" if config.sudo_user
|
||||
options << "--verbose" if config.verbose
|
||||
if config.verbose
|
||||
options << (config.verbose == :extra ? "-vvv" : "--verbose")
|
||||
end
|
||||
|
||||
# Assemble the full ansible-playbook command
|
||||
command = (%w(ansible-playbook) << options << config.playbook).flatten
|
||||
|
|
Loading…
Reference in New Issue