Files
ansible_role_package/tasks/helpers/nerdfont_config.yml
Matthew Stobbs 1eae6eb0db fixed remaining issues
added pipx and ripgrep back. not sure where they went in the first place
2026-04-13 15:19:33 -06:00

19 lines
668 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Generate nerdfont configs
when:
- "__nerdfonts[nf] is defined"
ansible.builtin.set_fact:
__font_config:
extract_to: "{{ path_archive }}/nerdfonts/{{ nf }}"
url: "{{ nerdfonts.base_url }}/{{ __nerdfonts[nf]['archive'] | default(nf) }}.tar.xz"
name: "{{ __nerdfonts[nf]['archive'] | default(nf) }}.tar.xz"
links:
- from: "{{ path_archive }}/nerdfonts/{{ nf }}"
to: "{{ install_prefix }}/{{ nerdfonts.install_path }}/{{ nf }}"
force: true
- name: Append config to pkg archive
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + [__font_config] }}"