make setup.yml have correct identation

This commit is contained in:
sebastian
2025-04-23 08:11:47 +02:00
parent 1f9ccf890e
commit bad5317fa5

View File

@@ -107,23 +107,24 @@
# mode: "0755"
# owner: "{{ regular_user }}"
- 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
ansible.builtin.find:
paths: "~{{ regular_user }}/.fonts"
patterns: "Cascadia*.ttf" # Adjust for actual font files in the zip
register: existing_fonts
- name: Ensure fonts directory exists
ansible.builtin.file:
path: "~{{ regular_user }}/.fonts"
state: directory
owner: "{{ regular_user }}"
mode: "0755"
- 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"
remote_src: true
owner: "{{ regular_user }}"
when: existing_fonts.matched == 0 # Only run if no matching fonts found
- name: Check if specific font files exist
ansible.builtin.find:
paths: "~{{ regular_user }}/.fonts"
patterns: "CaskaydiaCoveNerdFont*.ttf" # Adjust for actual font files in the zip
register: existing_fonts
- 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"
remote_src: true
owner: "{{ regular_user }}"
when: existing_fonts.matched == 0 # Only run if no matching fonts found