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 ...