clean up, refactor, documentation
- reducing amount of splitting in configs - documenting configuration
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
- ansible.builtin.include_vars:
|
||||
file: nerdfonts.yml
|
||||
name: _nerdfonts
|
||||
- ansible.builtin.set_fact:
|
||||
pkgconfig.nerdfonts: "{{ _nerdfonts | ansible.builtin.combine(pkgconfig.nerdfons) }}"
|
||||
|
||||
- name: append to srcpkgs
|
||||
when: ansible_system == 'Linux'
|
||||
@@ -12,6 +14,6 @@
|
||||
when: ansible_system == 'Darwin'
|
||||
set_fact:
|
||||
caskpkgs: "{{ caskpkgs + [ 'font-' + font.brew + '-nerd-font' ] }}"
|
||||
loop: "{{ _nerdfonts.fonts }}"
|
||||
loop: "{{ pkgconfig.nerdfonts.fonts }}"
|
||||
loop_control:
|
||||
loop_var: font
|
||||
|
||||
Reference in New Issue
Block a user