adds extra verbosity option to ansible provisioner
This commit is contained in:
parent
25a6b6c922
commit
bb3609e6b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue