more fixes, more config
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
file: nerdfonts.yml
|
||||
name: _nerdfonts
|
||||
- ansible.builtin.set_fact:
|
||||
pkgconfig:
|
||||
nerdfonts: "{{ _nerdfonts | ansible.builtin.combine(pkgconfig.nerdfons) }}"
|
||||
pkgconfig_nerdfonts: "{{ _nerdfonts | ansible.builtin.combine(pkgconfig.nerdfons) }}"
|
||||
|
||||
- name: append to srcpkgs
|
||||
when: ansible_system == 'Linux'
|
||||
@@ -14,7 +13,7 @@
|
||||
- name: append to caskpkgs
|
||||
when: ansible_system == 'Darwin'
|
||||
set_fact:
|
||||
caskpkgs: "{{ caskpkgs + [ 'font-' + font.brew + '-nerd-font' ] }}"
|
||||
loop: "{{ pkgconfig.nerdfonts.fonts }}"
|
||||
caskpkgs: "{{ caskpkgs + [ pkgconfig_nerdfonts[font].brew ] }}"
|
||||
loop: "{{ pkgconfig_nerdfonts.install }}"
|
||||
loop_control:
|
||||
loop_var: font
|
||||
|
||||
Reference in New Issue
Block a user