adds extra verbosity option to ansible provisioner

This commit is contained in:
Ben Mabey 2013-07-24 15:45:58 -06:00
parent 25a6b6c922
commit bb3609e6b2
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,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