From 3807e1744df967b9bef89676f184a89a5999434d Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 29 Dec 2024 11:42:40 +0100 Subject: [PATCH] ff --- .../tasks/main.yml | 8 -------- .../mgrote_install_deb_files_from_url/tasks/main.yml | 11 ++--------- 2 files changed, 2 insertions(+), 17 deletions(-) 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 ...