title: Ansible: Fetch a dynamic list of files from HTTP server
body: <p>I have a bunch of files on a Nexus server and I can browse the raw repo using the REST service with a web browser.</p>
  
  <p>The zip files that reside on the site are not static and could have random names.</p>
  
  <p>I have tried the <code>unarchive</code> and <code>get_url</code> modules, but they only work if I know the remote filename.</p>
  
  <p>The only option I have now is to use the <code>command</code> module and download the files with curl or wget.</p>
  
  <pre><code>wget -r -np -l 1 -A zip \ 
  http://localhost:8081/service/rest/repository/browse/repo/installs/latest/
  </code></pre>
  
  <p>Is there a better way of achieving this with an Ansible module?</p>
  
  <p>Thanks</p>