title: Ansible: How to delete files starting with a specific name?
body: <p>I am new to Ansible.</p>
  <p>I have such a directory:</p>
  <pre><code>home/etc/directory/
  </code></pre>
  <p>Which contains the following files:</p>
  <pre><code>application.yml
  application.yml_new
  application.yml.12345
  etc.yml
  </code></pre>
  <p>What I want to do is to delete/remove the files</p>
  <pre><code>application.yml_new
  application.yml.12345
  </code></pre>
  <p>I do not want to explicitly name these files but I want to delete all files with a suffix additional to <code>application.yml</code> (since the names are slightly different depending on the application).</p>
  <p>Now I am wondering how to do this?</p>
  <p>I found the <code>file</code> but I am not sure if I can do this with it or can it be only done with the <code>shell</code>-module?</p>