title: Get exactly data from "stdout" or "stdout_lines" with exact words of output
body: <p>I have a task</p>
  <pre class="lang-yaml prettyprint-override"><code>- name: DELEGATED ADMIN ACCOUNTS - check, get and send to the file domain.list
    shell: /opt/zimbra/bin/zmprov -l gaaa -v zimbraIsDelegatedAdminAccount
  </code></pre>
  <p>and after this task I got output</p>
  <pre class="lang-json prettyprint-override"><code>changed: [Shrrah] =&gt; {
      &quot;changed&quot;: true,
      &quot;cmd&quot;: [
          &quot;sh&quot;,
          &quot;/home/information_domain.sh&quot;
      ],
      &quot;delta&quot;: &quot;0:00:02.495922&quot;,
      &quot;end&quot;: &quot;2022-03-29 10:25:16.936051&quot;,
      &quot;invocation&quot;: {
          &quot;module_args&quot;: {
              &quot;_raw_params&quot;: &quot;sh /home/information_domain.sh&quot;,
              &quot;_uses_shell&quot;: false,
              &quot;argv&quot;: null,
              &quot;chdir&quot;: null,
              &quot;creates&quot;: null,
              &quot;executable&quot;: null,
              &quot;removes&quot;: null,
              &quot;stdin&quot;: null,
              &quot;stdin_add_newline&quot;: true,
              &quot;strip_empty_ends&quot;: true,
              &quot;warn&quot;: false
          }
      },
      &quot;msg&quot;: &quot;&quot;,
      &quot;rc&quot;: 0,
      &quot;start&quot;: &quot;2022-03-29 10:25:14.440129&quot;,
      &quot;stderr&quot;: &quot;&quot;,
      &quot;stderr_lines&quot;: [],
      &quot;stdout&quot;: &quot;# name admin@shrrah.esquimail.com\nzimbraIsDelegatedAdminAccount: FALSE\n\n# name prueba5@prueba5.com\n\n# name prueba7@prueba7.com\nzimbraIsDelegatedAdminAccount: TRUE\n\n# name prueba9@prueba9.com&quot;,
      &quot;stdout_lines&quot;: [
          &quot;# name admin@shrrah.esquimail.com&quot;,
          &quot;zimbraIsDelegatedAdminAccount: FALSE&quot;,
          &quot;&quot;,
          &quot;# name prueba5@prueba5.com&quot;,
          &quot;&quot;,
          &quot;# name prueba7@prueba7.com&quot;,
          &quot;zimbraIsDelegatedAdminAccount: TRUE&quot;,
          &quot;&quot;,
          &quot;# name prueba9@prueba9.com&quot;
      ]
  }
  </code></pre>
  <p>I need to get data with <code>n# name prueba7@prueba7.com\nzimbraIsDelegatedAdminAccount: TRUE</code> from <code>&quot;stdout&quot;</code> or from <code>&quot;stdout_lines&quot;</code> in format:</p>
  <pre><code>prueba7@prueba7.com zimbraIsDelegatedAdminAccount: TRUE
  </code></pre>
  <p>or</p>
  <pre><code>prueba7@prueba7.com
  zimbraIsDelegatedAdminAccount: TRUE
  </code></pre>
  <p>and send it to the <code>file.txt</code>. Number of lines can be different (one o more users with domain).</p>
  <p>I have no idea how I can do this, is this possible? If you know could you please help with advice? Thank you!</p>