Files
ansible_role_package/tasks/pkgs/nerdfonts.yml
Matthew Stobbs 648814acdc fix typo
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
2025-01-23 00:35:56 -07:00

18 lines
416 B
YAML

---
- ansible.builtin.include_vars:
file: nerdfonts.yml
name: _nerdfonts
- name: append to srcpkgs
when: ansible_system == 'Linux'
set_fact:
srcpkgs: "{{ srcpkgs + [ 'nerdfonts' ] }}"
- name: append to caskpkgs
when: ansible_system == 'Darwin'
set_fact:
caskpkgs: "{{ caskpkgs + [ 'font-' + font.brew + '-nerd-font' ] }}"
loop: "{{ _nerdfonts.fonts }}"
loop_control:
loop_var: font