Added a way to install platform specific packages in Linux

This commit is contained in:
Scott Wallace 2019-01-20 11:30:24 +00:00
parent 673c48b15e
commit 7b84a6c47f
2 changed files with 15 additions and 0 deletions

View file

@ -64,3 +64,13 @@
- name: Refresh font cache - name: Refresh font cache
command: 'fc-cache -f' command: 'fc-cache -f'
when: fontfile.stat.exists == false when: fontfile.stat.exists == false
- name: Platform specific packages
tags:
- install
- platform
package:
name: "{{ item }}"
state: present
loop: "{{ lookup('vars', lookup('vars', 'ansible_system_vendor') + '_' + lookup('vars', 'ansible_form_factor') + '_packages') }}"
become: true

View file

@ -48,3 +48,8 @@ gnome_extension_ids:
- 28 # gtile - 28 # gtile
- 1386 # notification counter - 1386 # notification counter
- 19 # user themes - 19 # user themes
# Platform specific packages
# Format: systemvendor_formfactor_packages
"Apple Inc._Laptop_packages":
- mbpfan