configuring more packages
This commit is contained in:
17
tasks/pkgs/nerdfonts.yml
Normal file
17
tasks/pkgs/nerdfonts.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- 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: "{{ _nerfonts.fonts }}"
|
||||
loop_control:
|
||||
loop_var: font
|
||||
Reference in New Issue
Block a user