Skip to content

Commit

Permalink
dockutil is now available directly, without cask
Browse files Browse the repository at this point in the history
[This issue](kcrawford/dockutil#127) has been
updated, and dockutil can now be installed without the extra cask-step.
  • Loading branch information
dennisse committed Jan 24, 2024
1 parent 021d7dd commit 0183514
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 0 additions & 6 deletions roles/dock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ dockitems_persist: []

Dock items to add. `pos` parameter is optional and will place the Dock item in a particular position in the Dock.

```yaml
dockutil_homebrew_cask: hpedrorodrigues/tools/dockutil
```

Which Homebrew cask to install for dockutil. See [this issue](https://github.com/kcrawford/dockutil/issues/127) to read more about why this cask is the default.

```yaml
dockutil_install: true
```
Expand Down
3 changes: 0 additions & 3 deletions roles/dock/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@ dockitems_persist: []
# path: "/Applications/Sublime Text.app/"
# pos: 5

# Which homebrew cask to install for dockutil
dockutil_homebrew_cask: hpedrorodrigues/tools/dockutil

# Whether to install dockutil or not
dockutil_install: true
5 changes: 2 additions & 3 deletions roles/dock/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
# See: https://github.com/kcrawford/dockutil/issues/127
- name: Install dockutil.
community.general.homebrew_cask:
name: "{{ dockutil_homebrew_cask }}"
community.general.homebrew:
name: dockutil
state: present
notify:
- Clear homebrew cache
Expand Down

0 comments on commit 0183514

Please sign in to comment.