fixing packages for new style
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user