From 6d927c0f20f95dfb1ece8766dfaf34805bc2f820 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 24 Jan 2026 16:24:28 +0100 Subject: Fix ansible_facts to use only bracket notation instead of dot notation Co-authored-by: claude.ai --- roles/hyprcursor/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/hyprcursor/tasks') diff --git a/roles/hyprcursor/tasks/main.yml b/roles/hyprcursor/tasks/main.yml index 2ca1366f..eb39b73e 100644 --- a/roles/hyprcursor/tasks/main.yml +++ b/roles/hyprcursor/tasks/main.yml @@ -7,19 +7,19 @@ - name: "Ensure icons directory exists" ansible.builtin.file: - path: "{{ ansible_facts['env'].HOME }}/.local/share/icons" + path: "{{ ansible_facts['env']['HOME'] }}/.local/share/icons" state: "directory" mode: "0755" - name: "Check if cursor theme exists" ansible.builtin.stat: - path: "{{ ansible_facts['env'].HOME }}/.local/share/icons/{{ hyprcursor_variant }}" + path: "{{ ansible_facts['env']['HOME'] }}/.local/share/icons/{{ hyprcursor_variant }}" register: hyprcursor_theme_dir - name: "Download and extract banana cursor" ansible.builtin.unarchive: # yamllint disable-line src: "https://github.com/ful1e5/banana-cursor/releases/download/{{ hyprcursor_version }}/{{ hyprcursor_variant }}.tar.xz" - dest: "{{ ansible_facts['env'].HOME }}/.local/share/icons" + dest: "{{ ansible_facts['env']['HOME'] }}/.local/share/icons" remote_src: true when: not hyprcursor_theme_dir.stat.exists -- cgit v1.2.3