title: Ansible installation of Debian packages
body: <p>I'm trying to install a Debian package via Ansible apt task:</p>
  
  <pre><code>   - name: Install prince
       apt:
           deb: http://www.princexml.com/download/prince_11-1_debian8.0_amd64.deb
  </code></pre>
  
  <p>However, I get the message:</p>
  
  <blockquote>
    <p>SystemError:<br>
    E:Could not open file <a href="http://www.princexml.com/download/prince_11-1_debian8.0_amd64.deb" rel="noreferrer">http://www.princexml.com/download/prince_11-1_debian8.0_amd64.deb</a> - open (2: No such file or directory),<br>
    E:Unable to determine file size for fd -1 - fstat (9: Bad file descriptor),<br>
    E:Read error - read (9: Bad file descriptor)</p>
  </blockquote>
  
  <p>The URL is valid. I can download to my local, using that link. I can install using <code>dpkg -i</code>. However that ansible task doesn't work. Thanks in advance.</p>