From 9d582cf15801b26e0955806fbc5cc790b030e50d Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 6 Feb 2023 08:57:11 +0000 Subject: [PATCH] Add Go fonts --- roles/home-gui/tasks/fonts.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/home-gui/tasks/fonts.yml b/roles/home-gui/tasks/fonts.yml index dfdc7bc..2321d4b 100644 --- a/roles/home-gui/tasks/fonts.yml +++ b/roles/home-gui/tasks/fonts.yml @@ -61,3 +61,14 @@ src: "https://quoteunquoteapps.com/courierprime/downloads/courier-prime.zip" dest: "{{ font_dir }}/courier-prime" 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"