Simplify and make platform specific package logic more robust

This commit is contained in:
Scott Wallace 2019-02-22 20:46:28 +00:00
parent 47ff023862
commit 3df43b0a14

View file

@ -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'