diff --git a/ansible/roles/baremetal/tasks/install.yml b/ansible/roles/baremetal/tasks/install.yml index 7c0f85cf20..b6def4ea49 100644 --- a/ansible/roles/baremetal/tasks/install.yml +++ b/ansible/roles/baremetal/tasks/install.yml @@ -49,7 +49,9 @@ state: present become: True with_items: "{{ debian_pkg_install }}" - when: ansible_os_family == 'Debian' + when: + - ansible_os_family == 'Debian' + - item != "" register: apt_install_result - name: Install deltarpm packages