diff --git a/roles/mgrote_install_archived_deb_files_from_url/tasks/main.yml b/roles/mgrote_install_archived_deb_files_from_url/tasks/main.yml index 699f1706..055dcb08 100644 --- a/roles/mgrote_install_archived_deb_files_from_url/tasks/main.yml +++ b/roles/mgrote_install_archived_deb_files_from_url/tasks/main.yml @@ -5,12 +5,4 @@ deb: "{{ item }}" loop: "{{ laptop_install_deb_url }}" when: laptop_install_deb_url is defined - -- name: install archived deb files - ansible.builtin.unarchive: - src: "{{ item }}" - dest: /usr/local/bin - remote_src: yes - loop: "{{ laptop_install_deb_url_archived }}" - when: laptop_install_deb_url_archived is defined ... diff --git a/roles/mgrote_install_deb_files_from_url/tasks/main.yml b/roles/mgrote_install_deb_files_from_url/tasks/main.yml index 699f1706..f601dd22 100644 --- a/roles/mgrote_install_deb_files_from_url/tasks/main.yml +++ b/roles/mgrote_install_deb_files_from_url/tasks/main.yml @@ -1,16 +1,9 @@ --- -- name: install deb files - become: true - ansible.builtin.apt: - deb: "{{ item }}" - loop: "{{ laptop_install_deb_url }}" - when: laptop_install_deb_url is defined - - name: install archived deb files ansible.builtin.unarchive: - src: "{{ item }}" + src: "{{ item }}" dest: /usr/local/bin - remote_src: yes + remote_src: true loop: "{{ laptop_install_deb_url_archived }}" when: laptop_install_deb_url_archived is defined ...