--- - name: install deb files become: true ansible.builtin.apt: deb: "{{ item }}" loop: "{{ laptop_install_deb_url }}" - name: install archived deb files ansible.builtin.unarchive: src: "{{ item }}" dest: /usr/local/bin remote_src: yes loop: "{{ laptop_install_deb_url_archived }}" ...