there's an active PR being worked on to address this: https://github.com/ansible/ansible-modules-core/pull/1657
I think queridiculo was working on reformatting the output to be more friendly to use in conditionals. On Tue, Jul 28, 2015 at 1:37 AM, alessandro mazzoli < [email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/ansible-project/a7d441e1-8bc9-43c1-a38a-e0ac91fddc24%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAG9juEq8Rq6iDR4SUv442%3DvfpbHQSbnR0Ey0EZxVi_W6pH34rw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
