diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-24 00:33:50 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-24 01:03:37 +0100 |
| commit | d7b3463a79a50dc81d28d530c5212a1749efbb15 (patch) | |
| tree | 198f009230b71c23275400826a2f60e50f01360a /roles/hyprcursor | |
| parent | 4b9d5e3318d4de8df862f3794c6bc85eba6f8942 (diff) | |
Fix ansible 2.20.1 deprecation warning about ansible_vars
Diffstat (limited to 'roles/hyprcursor')
| -rw-r--r-- | roles/hyprcursor/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/hyprcursor/tasks/main.yml b/roles/hyprcursor/tasks/main.yml index ee93accf..2ca1366f 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_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_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_env.HOME }}/.local/share/icons" + dest: "{{ ansible_facts['env'].HOME }}/.local/share/icons" remote_src: true when: not hyprcursor_theme_dir.stat.exists |
