title: how to use unix command in src in ansible
body: <p>File is opened if I run the following command from shell: </p>
  
  <p><code>ls -l /tmp/uname -n ---file1</code></p>
  
  <p>I am trying to run it with fetch:</p>
  
  <pre><code>- name: COPY file from remote machine to local
  
    fetch:
  
      src: /tmp/`uname -n`---mem-swap.out
  
      dest: /tmp
  </code></pre>
  
  <p>But it gives me the error:</p>
  
  <blockquote>
    <p>file not found: /tmp/<code>uname -n</code>---mem-swap.out</p>
  </blockquote>
  
  <p>Is it possible to execute it in   "src"</p>
  
  <p>Thank you.</p>