Skip to content

Commit

Permalink
bug:🪰 Fixing when: condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDufus committed Sep 12, 2024
1 parent 043ec61 commit b7ffa0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/hammerspoon/tasks/MacOSX.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
state: directory
mode: "0755"

- name: "Hammerspoon | Copy init.lua"
- name: "Hammerspoon | Deploy Hammerspoon Configuration"
ansible.builtin.copy:
src: "config"
dest: "{{ ansible_user_dir }}/.hammerspoon/"
Expand Down Expand Up @@ -40,7 +40,7 @@
when: hammerspoon_gridlayout_release.status == 200

- name: "Hammerspoon | Install latest GridLayout.spoon"
when: hammerspoon_gridlayout_version.stdout != hammerspoon_gridlayout_latest_version
when: not hammerspoon.stat.exists OR hammerspoon_gridlayout_version != hammerspoon_gridlayout_latest_version
block:
- name: "Hammerspoon | Download latest GridLayout.spoon"
ansible.builtin.uri:
Expand Down

0 comments on commit b7ffa0d

Please sign in to comment.