tabs are always shown as \t

Hi,

I use ansible 2.6.0.
Every time in debug or variables tabs are shown as \t.

For example:

on commandline:
echo -e "this is \t a test"

Result:

this is a test

Ansible:

`
command: echo -e “this is \t a test”

`

Result:

this is \t a test

How can I get Ansible to print it like on the commandline?

thanks,
starflighter

You would need to create your own callback plugin or test if someone on this list give you a output you like
https://docs.ansible.com/ansible/2.6/plugins/callback.html#plugin-list

OK, but do you know why newline (\n) works and tab (\t) not?

No, but I can speculate.

Ansible is not a reporting tool, it's a configuration management tool.
In configuration Ansible do the right thing.

In this code the file /tmp/text will contain a tab not literal \t.

   - command: echo -e "this is \t a test"
     register: r

   - copy:
       content: '{{ r.stdout }}'
       dest: /tmp/text