provisioners/ansible_local: align console outputs
Use "info" level for main tasks (installing ansible, running galaxy, running playbook). Use "detail" level for subsequent details.
This commit is contained in:
parent
c1f3d114f5
commit
819c9b6425
|
@ -148,7 +148,7 @@ module VagrantPlugins
|
|||
@machine.ui.detail I18n.t("vagrant.provisioners.ansible.running_#{name}")
|
||||
if verbosity_is_enabled?
|
||||
# Show the ansible command in use
|
||||
@machine.env.ui.detail(command)
|
||||
@machine.env.ui.detail command
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ module VagrantPlugins
|
|||
if config.install &&
|
||||
(config.version.to_s.to_sym == :latest ||
|
||||
!@machine.guest.capability(:ansible_installed, config.version))
|
||||
@machine.ui.info(I18n.t("vagrant.provisioners.ansible.installing"))
|
||||
@machine.ui.detail I18n.t("vagrant.provisioners.ansible.installing")
|
||||
@machine.guest.capability(:ansible_install)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue