From 3df43b0a1449b88f894af4483ca4851b1dd65d3b Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Fri, 22 Feb 2019 20:46:28 +0000 Subject: [PATCH] Simplify and make platform specific package logic more robust --- .ansible/roles/desktop/tasks/linux/00_software.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ansible/roles/desktop/tasks/linux/00_software.yaml b/.ansible/roles/desktop/tasks/linux/00_software.yaml index b04060b..a7338f1 100644 --- a/.ansible/roles/desktop/tasks/linux/00_software.yaml +++ b/.ansible/roles/desktop/tasks/linux/00_software.yaml @@ -95,7 +95,7 @@ package: name: "{{ item }}" state: present - loop: "{{ lookup('vars', lookup('vars', 'ansible_system_vendor') + '_' + lookup('vars', 'ansible_form_factor') + '_packages') }}" + loop: "{{ lookup('vars', ansible_system_vendor + '_' + ansible_form_factor + '_packages', default=[]) }}" become: true - name: 'Gnome extensions'