title: How to provide tab space for ansible variables
body: <p>I have a task and i am writing the task result to the file. While writing to the file I need to give indentation.
  I have tried the below command but it is indenting only the first line of the variable. But, I need the entire lines in the variable need to be indent. Is there anyway to do that?</p>
  <pre class="lang-yaml prettyprint-override"><code>  - name: task
      shell: some command
      register: result
  
    - shell: 'echo -e \\t{{result.stdout | to_json}} &gt;&gt;file.txt'
  </code></pre>