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

**URL:** <https://forum.ansible.com/t/yum-module-doesnt-provide-a-large-verbose-output-as-apt/18872>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [July 28, 2015, 8:37am UTC](https://forum.ansible.com/t/yum-module-doesnt-provide-a-large-verbose-output-as-apt/18872 "2015-07-28T08:37:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alessandro\_mazzoli](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@alessandro\_mazzoli](https://forum.ansible.com/u/alessandro_mazzoli)\
**Post date:** [July 28, 2015, 8:37am UTC](https://forum.ansible.com/t/yum-module-doesnt-provide-a-large-verbose-output-as-apt/18872/1 "2015-07-28T08:37:20Z")

</div>

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)](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/s320/Schermata%2B2015-07-28%2Balle%2B10.16.41.png)](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

---

<div class="post-metadata">

**Author:** ![Toshio\_Kuratomi](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Post date:** [July 28, 2015, 3:51pm UTC](https://forum.ansible.com/t/yum-module-doesnt-provide-a-large-verbose-output-as-apt/18872/2 "2015-07-28T15:51:29Z")

</div>

there’s an active PR being worked on to address this: [https://github.com/ansible/ansible-modules-core/pull/1657](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.
