title: Concatenating files with Ansible
body: <p>Using Ansible, how would I go about copying the contents of the example file:</p>
  
  <pre><code>/tmp/example.txt
  
  cat example.txt
  1234
  </code></pre>
  
  <p>And adding its contents to the below file:</p>
  
  <pre><code>/tmp/example2.txt
  cat example2.txt
  5678
  </code></pre>
  
  <p>So, in the end, example2.txt has the contents of:</p>
  
  <pre><code>12345678
  </code></pre>