Yum module doesn't provide a large verbose output as apt

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

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

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

Thank you advance, A.M

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.