# output newline

**URL:** <https://forum.ansible.com/t/output-newline/13115>\
**Category:** Ansible Project\
**Created:** [July 13, 2013, 9:29am UTC](https://forum.ansible.com/t/output-newline/13115 "2013-07-13T09:29:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yasushi\_komatsu](https://avatars.discourse-cdn.com/v4/letter/y/c4cdca/32.png) [@yasushi\_komatsu](https://forum.ansible.com/u/yasushi_komatsu)\
**Post date:** [July 13, 2013, 9:29am UTC](https://forum.ansible.com/t/output-newline/13115/1 "2013-07-13T09:29:39Z")

</div>

When running jobs with yum module the returned output newline characters (\n).

PLAY [testservers] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
ok: [sandbox01]

TASK: [yum test] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
changed: [sandbox01] =\> {"changed": true, "msg": "", "rc": 0, "results": ["\n================================================================================\n Package Arch Version  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Repository Size\n================================================================================\nRemoving:\n apachetop x86\_64 0.12.6-7.el6 @internal 61 k\n  
\nTransaction Summary\n================================================================================\nRemove 1 Package(s)\n\nInstalled size: 61 k\n\nRemoved:\n apachetop.x86\_64 0:0.12.6-7.el6  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n\n"]}

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
sandbox01 : ok=2 changed=1 unreachable=0 failed=0

Is this a product specification?

Thanks.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [July 13, 2013, 12:36pm UTC](https://forum.ansible.com/t/output-newline/13115/2 "2013-07-13T12:36:15Z")

</div>

Yes, this is the output from yum.

There has been some discussion of pretty-printing (not just the native pprint, more I mean) the output from the CLI in general, though that’s too verbose when that happens, so it would have to be a (configurable) option.

---

<div class="post-metadata">

**Author:** ![yasushi\_komatsu](https://avatars.discourse-cdn.com/v4/letter/y/c4cdca/32.png) [@yasushi\_komatsu](https://forum.ansible.com/u/yasushi_komatsu)\
**Post date:** [July 13, 2013, 10:00pm UTC](https://forum.ansible.com/t/output-newline/13115/3 "2013-07-13T22:00:25Z")

</div>

I expect to include pretty-print in the option of ansible.  
Thank you for your time.
