set filetype to yaml.ansible for all yml files

This commit is contained in:
Matthew Stobbs
2025-02-09 18:24:38 -07:00
parent 80af799c47
commit c9e5f7f9ab
130 changed files with 138 additions and 6 deletions

View File

@@ -1,3 +1,4 @@
# vim: set filetype=yaml.ansible :
# Install nerdfonts for each platform
---
- name: linux installation
@@ -7,12 +8,12 @@
ansible.builtin.set_fact:
nerdfonts_install_path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.local/share/fonts"
when: not pkgconfig_nerdfonts.system_install
- name: set install path for system wide installs
ansible.builtin.set_fact:
nerdfonts_install_path: "/usr/local/share/fonts"
when: pkgconfig_nerdfonts.system_install
- name: create nerdfonts directories
ansible.builtin.file:
path: "{{ nerdfonts_install_path }}/{{ font }}"
@@ -22,7 +23,7 @@
loop_control:
loop_var: font
register: nerdfont_result
- name: Download and extract nerdfonts
ansible.builtin.unarchive:
creates: "{{ nerdfonts_install_path }}/{{ font }}/README.md"