ansible-collection-mac icon indicating copy to clipboard operation
ansible-collection-mac copied to clipboard

dock role depends on homebrew role for installation

Open Nothing4You opened this issue 1 year ago • 1 comments

Hi,

the dock role documentation states that the geerlingguy.homebrew role is just a soft dependency, but it isn't clearly explained what is meant by that. Based on the readme my assumption was that it was only needed if Homebrew wasn't installed, but this is actually a strong dependency when dockutil_install is true:

TASK [geerlingguy.mac.dock : Install dockutil.] **************************************************************************************
ERROR! The requested handler 'Clear homebrew cache' was not found in either the main handlers list nor in the listening handlers list

Maybe add a note to dockutil_install that it has a strong dependency on geerlingguy.homebrew?

Nothing4You avatar Dec 17 '24 11:12 Nothing4You

The idea of a soft dependency is you could inject your own homebrew role if you wanted — it would still need to include a Clear homebrew cache handler. It might be good to document that more explicitly, though.

geerlingguy avatar Dec 17 '24 17:12 geerlingguy

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] avatar Jul 19 '25 05:07 stale[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

stale[bot] avatar Nov 04 '25 03:11 stale[bot]