make setup.yml have correct identation
This commit is contained in:
@@ -107,20 +107,21 @@
|
||||
# mode: "0755"
|
||||
# owner: "{{ regular_user }}"
|
||||
|
||||
- name: Ensure fonts directory exists
|
||||
|
||||
- name: Ensure fonts directory exists
|
||||
ansible.builtin.file:
|
||||
path: "~{{ regular_user }}/.fonts"
|
||||
state: directory
|
||||
owner: "{{ regular_user }}"
|
||||
mode: "0755"
|
||||
|
||||
- name: Check if specific font files exist
|
||||
- name: Check if specific font files exist
|
||||
ansible.builtin.find:
|
||||
paths: "~{{ regular_user }}/.fonts"
|
||||
patterns: "Cascadia*.ttf" # Adjust for actual font files in the zip
|
||||
patterns: "CaskaydiaCoveNerdFont*.ttf" # Adjust for actual font files in the zip
|
||||
register: existing_fonts
|
||||
|
||||
- name: Download and extract Nerdfonts
|
||||
- name: Download and extract Nerdfonts
|
||||
ansible.builtin.unarchive:
|
||||
src: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/CascadiaCode.zip
|
||||
dest: "~{{ regular_user }}/.fonts"
|
||||
|
||||
Reference in New Issue
Block a user