provisioners/ansible: allow verbose :extra to be string

This commit is contained in:
Mitchell Hashimoto 2013-08-28 16:46:04 -07:00
parent 7f4367085b
commit 02399a145c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ module VagrantPlugins
options << "--sudo" if config.sudo options << "--sudo" if config.sudo
options << "--sudo-user=#{config.sudo_user}" if config.sudo_user options << "--sudo-user=#{config.sudo_user}" if config.sudo_user
if config.verbose if config.verbose
options << (config.verbose == :extra ? "-vvv" : "--verbose") options << (config.verbose.to_s == "extra" ? "-vvv" : "--verbose")
end end
# Assemble the full ansible-playbook command # Assemble the full ansible-playbook command