Add Go fonts

This commit is contained in:
Anthony Rose 2023-02-06 08:57:11 +00:00
parent 59018eb614
commit 9d582cf158

View file

@ -61,3 +61,14 @@
src: "https://quoteunquoteapps.com/courierprime/downloads/courier-prime.zip" src: "https://quoteunquoteapps.com/courierprime/downloads/courier-prime.zip"
dest: "{{ font_dir }}/courier-prime" dest: "{{ font_dir }}/courier-prime"
creates: "{{ font_dir }}/courier-prime/Courier Prime/Courier Prime.ttf" creates: "{{ font_dir }}/courier-prime/Courier Prime/Courier Prime.ttf"
- name: Create Go font directory
ansible.builtin.file:
path: "{{ font_dir }}/go"
state: directory
- name: Extract Go fonts
ansible.builtin.unarchive:
remote_src: yes
src: "https://go.googlesource.com/image/+archive/41969df76e82aeec85fa3821b1e24955ea993001/font/gofont/ttfs.tar.gz"
dest: "{{ font_dir }}/go"
creates: "{{ font_dir }}/go/Go-Mono.ttf"