renamed and refactored nerdfonts

- font names now match website
- archive key only exists if the archive name is different then the font
name
This commit is contained in:
Matthew Stobbs
2025-03-09 09:13:53 -06:00
parent c3573cd623
commit c82b6b3d7c
2 changed files with 67 additions and 39 deletions

View File

@@ -24,6 +24,6 @@
loop_var: font
ansible.builtin.unarchive:
creates: "{{ path.prefix }}/{{ nerdfonts.path }}/{{ font }}/README.md"
src: "{{ nerdfonts.base_url }}/{{ font }}.tar.xz"
src: "{{ nerdfonts.base_url }}/{{ pkgconfig.nerdfonts.fonts[font].archive | default(font) }}.tar.xz"
dest: "{{ path.prefix }}/{{ nerdfonts.path }}/{{ font }}"
remote_src: true