Add some font shizzle to the Linux desktop install process
This commit is contained in:
parent
5848e76af8
commit
1c5646bbc7
|
@ -22,3 +22,33 @@
|
|||
command: "snap install {{ item }}"
|
||||
with_items: "{{ linux_apps }}"
|
||||
become: true
|
||||
|
||||
- name: Installing fonts
|
||||
tags: install
|
||||
block:
|
||||
- name: Create temporary file for Modern Pictograms font
|
||||
tempfile:
|
||||
state: file
|
||||
suffix: ".zip"
|
||||
register: fontzip
|
||||
|
||||
- name: Download Modern Pictograms font
|
||||
get_url:
|
||||
url: https://www.fontsquirrel.com/fonts/download/modern-pictograms
|
||||
dest: "{{ fontzip.path }}"
|
||||
force: true
|
||||
register: fetchurl
|
||||
|
||||
- name: Unzip Modern Pictograms font
|
||||
unarchive:
|
||||
src: "{{ fontzip.path }}"
|
||||
dest: "~/.local/share/fonts"
|
||||
exclude: "*.txt"
|
||||
|
||||
- name: Remove temporary file
|
||||
file:
|
||||
path: "{{ fontzip.path }}"
|
||||
state: absent
|
||||
|
||||
- name: Refresh font cache
|
||||
command: "fc-cache -f"
|
||||
|
|
|
@ -30,6 +30,7 @@ linux_packages:
|
|||
- resilio-sync
|
||||
- screen
|
||||
- sonos-controller-unofficial
|
||||
- ttf-mscorefonts-installer
|
||||
- units
|
||||
- vim
|
||||
- wireshark-qt
|
||||
|
|
Loading…
Reference in a new issue