# Ansible 2.8.1: Multiline debug not working with debug output filter

**URL:** <https://forum.ansible.com/t/ansible-2-8-1-multiline-debug-not-working-with-debug-output-filter/31048>\
**Category:** Ansible Project\
**Created:** [August 15, 2019, 2:35pm UTC](https://forum.ansible.com/t/ansible-2-8-1-multiline-debug-not-working-with-debug-output-filter/31048 "2019-08-15T14:35:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Hodgson](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@Andrew\_Hodgson](https://forum.ansible.com/u/Andrew_Hodgson)\
**Post date:** [August 15, 2019, 2:35pm UTC](https://forum.ansible.com/t/ansible-2-8-1-multiline-debug-not-working-with-debug-output-filter/31048/1 "2019-08-15T14:35:29Z")

</div>

Hi all,

I am using Ansible 2.8.1 and want to create a multiline debug output at the end of a play run:

[https://docs.ansible.com/ansible/latest/modules/debug\_module.html](https://docs.ansible.com/ansible/latest/modules/debug_module.html)

Suggests this is possible, I am trying the following:

- name: Give cluster information  
&nbsp;&nbsp;debug:  
&nbsp;&nbsp;&nbsp;&nbsp;msg:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- "Information about your deployed AKS cluster:"  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- "Cluster Name : {{ aks\_name }}"  
[...]

This seems to work as expected by default, however if we specify the debug output filter as an environment variable:

ANSIBLE\_STDOUT\_CALLBACK=debug

Then the output is not split up onto separate lines, and the information is represented in one large block of text in one line. Has anyone seen this before?

Thanks.  
Andrew.
