From 6ab1c38fcf2732e3eed6c05b9e39431eb9ff5096 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 29 Dec 2024 11:43:08 +0100 Subject: [PATCH] dd --- .../tasks/main.yml | 13 +++++++------ .../tasks/main.yml | 13 ++++++------- 2 files changed, 13 insertions(+), 13 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 055dcb08..f601dd22 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 @@ -1,8 +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 }}" + dest: /usr/local/bin + remote_src: true + 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 f601dd22..055dcb08 100644 --- a/roles/mgrote_install_deb_files_from_url/tasks/main.yml +++ b/roles/mgrote_install_deb_files_from_url/tasks/main.yml @@ -1,9 +1,8 @@ --- -- name: install archived deb files - ansible.builtin.unarchive: - src: "{{ item }}" - dest: /usr/local/bin - remote_src: true - loop: "{{ laptop_install_deb_url_archived }}" - when: laptop_install_deb_url_archived is defined +- name: install deb files + become: true + ansible.builtin.apt: + deb: "{{ item }}" + loop: "{{ laptop_install_deb_url }}" + when: laptop_install_deb_url is defined ...