fixing packages for new style

This commit is contained in:
Matthew Stobbs
2025-02-19 22:23:47 -07:00
parent 89f013bac9
commit 48e67be99b
17 changed files with 152 additions and 172 deletions

View File

@@ -1,20 +1,14 @@
# vim: set filetype=yaml.ansible :
---
- ansible.builtin.include_vars:
file: nerdfonts.yml
name: _nerdfonts
- ansible.builtin.set_fact:
pkgconfig_nerdfonts: "{{ _nerdfonts | ansible.builtin.combine(pkgconfig.nerdfonts) }}"
- name: append to srcpkgs
- name: Append to srcpkgs
ansible.builtin.set_fact:
srcpkgs: "{{ srcpkgs + [ 'nerdfonts' ] }}"
pkg_archive: "{{ pkg_archive + ['nerdfonts'] }}"
when: ansible_system == 'Linux'
- name: append to caskpkgs
- name: Append to caskpkgs
ansible.builtin.set_fact:
caskpkgs: "{{ caskpkgs + [ pkgconfig_nerdfonts.fonts[font].brew ] }}"
loop: "{{ pkgconfig_nerdfonts.install }}"
pkg_cask: "{{ pkg_cask + [nerdfonts.fonts[font].brew] }}"
loop: "{{ nerdfonts.fonts }}"
loop_control:
loop_var: font
when: ansible_system == 'Darwin'