From 819c9b6425651e14a392dfc2f9cf460e1492d492 Mon Sep 17 00:00:00 2001 From: Gilles Cornu Date: Wed, 18 Nov 2015 09:37:27 +0100 Subject: [PATCH] provisioners/ansible_local: align console outputs Use "info" level for main tasks (installing ansible, running galaxy, running playbook). Use "detail" level for subsequent details. --- plugins/provisioners/ansible/provisioner/base.rb | 2 +- plugins/provisioners/ansible/provisioner/guest.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/provisioners/ansible/provisioner/base.rb b/plugins/provisioners/ansible/provisioner/base.rb index 16f6d0d77..0fc24ecfb 100644 --- a/plugins/provisioners/ansible/provisioner/base.rb +++ b/plugins/provisioners/ansible/provisioner/base.rb @@ -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 diff --git a/plugins/provisioners/ansible/provisioner/guest.rb b/plugins/provisioners/ansible/provisioner/guest.rb index 9e4346190..2397f66df 100644 --- a/plugins/provisioners/ansible/provisioner/guest.rb +++ b/plugins/provisioners/ansible/provisioner/guest.rb @@ -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