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,20 +107,21 @@
# mode: "0755" # mode: "0755"
# owner: "{{ regular_user }}" # owner: "{{ regular_user }}"
- name: Ensure fonts directory exists
- name: Ensure fonts directory exists
ansible.builtin.file: ansible.builtin.file:
path: "~{{ regular_user }}/.fonts" path: "~{{ regular_user }}/.fonts"
state: directory state: directory
owner: "{{ regular_user }}" owner: "{{ regular_user }}"
mode: "0755" mode: "0755"
- name: Check if specific font files exist - name: Check if specific font files exist
ansible.builtin.find: ansible.builtin.find:
paths: "~{{ regular_user }}/.fonts" 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 register: existing_fonts
- name: Download and extract Nerdfonts - name: Download and extract Nerdfonts
ansible.builtin.unarchive: ansible.builtin.unarchive:
src: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/CascadiaCode.zip src: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/CascadiaCode.zip
dest: "~{{ regular_user }}/.fonts" dest: "~{{ regular_user }}/.fonts"