- name: Download vn-host Debian package get_url: url: "{{ vn_host.url }}/{{ vn_host.package }}" dest: "/tmp/{{ vn_host.package }}" mode: '0644' - name: Install package apt: deb: "/tmp/{{ vn_host.package }}" - name: Delete package file: path: "/tmp/{{ vn_host.package }}" state: absent