set filetype to yaml.ansible for all yml files
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user