provisioners/ansible: allow verbose :extra to be string
This commit is contained in:
parent
7f4367085b
commit
02399a145c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue