Merge pull request #1979 from bmabey/patch-1

provisioners/ansible: adds extra verbosity option
This commit is contained in:
Mitchell Hashimoto 2013-08-28 16:45:04 -07:00
commit 99a51a1ba8
1 changed files with 3 additions and 1 deletions

View File

@ -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