Simplify and make platform specific package logic more robust
This commit is contained in:
parent
47ff023862
commit
3df43b0a14
|
@ -95,7 +95,7 @@
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
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
|
become: true
|
||||||
|
|
||||||
- name: 'Gnome extensions'
|
- name: 'Gnome extensions'
|
||||||
|
|
Loading…
Reference in a new issue