fix go, finish nerdfonts

This commit is contained in:
Matthew Stobbs
2026-02-10 19:02:15 -07:00
parent 2c1f4ec422
commit 0a335f23b0
4 changed files with 195 additions and 176 deletions

View File

@@ -6,9 +6,6 @@
- archive.name is defined
- archive.url is defined
block:
- name: Dump archive vars
ansible.builtin.debug:
var: archive
- name: Extract archive to given path
block:
- name: Ensure directory exists

View File

@@ -1,13 +1,8 @@
# vim: set filetype=yaml.ansible :
---
- name: Load nerdfonts list
ansible.builtin.include_vars:
file: nerdfonts.yml
name: __nerdfonts
- name: Generate nerdfont configs
when:
- __nerdfonts[nf] is defined
- "__nerdfonts[nf] is defined"
ansible.builtin.set_fact:
__font_config:
extract_to: "{{ path_archive }}/nerdfonts/{{ nf }}"
@@ -18,10 +13,6 @@
to: "{{ install_prefix }}/{{ nerdfonts_install_path }}/{{ nf }}"
force: true
- name: Dump current nerdfont config
ansible.builtin.debug:
var: __font_config
- name: Append config to pkg archive
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + [__font_config] }}"