Hi,

i'm also using Ansible for rolling updates( dry-run first) on Ubuntu/CentOS 
but i recognized that with the same cli command, Apt provide a larger 
verbose output than Yum:

ansible myhost -i inventories/production/prod --check -vvvv -m yum -a "name=* 
state=latest update_cache=yes"




In output this command gives me only SSH output + success state

<https://lh3.googleusercontent.com/-VBWe0cyxwXQ/Vbc7DnDPL5I/AAAAAAAAAFY/1lt50EmOLKg/s1600/Schermata%2B2015-07-28%2Balle%2B10.17.08.png>





Instead executing:

ansible myhost_ubuntu -i inventories/production/prod --check -vvvv -m apt -a 
"upgrade=yes update_cache=yes"



In output this command gives me SSH output + all info about packages that 
will be installed/removed

<https://lh3.googleusercontent.com/-Dv654latH_U/Vbc7fR7bqhI/AAAAAAAAAFg/XoowFpDaky8/s1600/Schermata%2B2015-07-28%2Balle%2B10.16.41.png>










i tried also to set up "error_legel" on yum.conf, do you have any ideas?

Thank you advance, A.M

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a7d441e1-8bc9-43c1-a38a-e0ac91fddc24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to