From bad5317fa5966b0f5d0ae608fc676159d70d054c Mon Sep 17 00:00:00 2001 From: sebastian Date: Wed, 23 Apr 2025 08:11:47 +0200 Subject: [PATCH] make setup.yml have correct identation --- dot_bootstrap/setup.yml | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/dot_bootstrap/setup.yml b/dot_bootstrap/setup.yml index 1a83e43..c4937ed 100644 --- a/dot_bootstrap/setup.yml +++ b/dot_bootstrap/setup.yml @@ -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