From f9e70b93a7b8ea95ff230d681e86077498384b2a Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 29 Dec 2024 11:16:48 +0100 Subject: [PATCH] ff --- roles/mgrote_laptop/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/mgrote_laptop/tasks/main.yml b/roles/mgrote_laptop/tasks/main.yml index 1cf3e42c..699f1706 100644 --- a/roles/mgrote_laptop/tasks/main.yml +++ b/roles/mgrote_laptop/tasks/main.yml @@ -4,6 +4,7 @@ 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: @@ -11,4 +12,5 @@ dest: /usr/local/bin remote_src: yes loop: "{{ laptop_install_deb_url_archived }}" + when: laptop_install_deb_url_archived is defined ...