geerlingguy / mac-dev-playbook

Mac setup and configuration via Ansible.
Other
6.01k stars 1.77k forks source link

dockutil not working #197

Closed thatnerdnoah closed 4 days ago

thatnerdnoah commented 9 months ago

I am farily new to Ansible and this playbook. When the playbook gets to the dockutil section, I get the following error:

TASK [geerlingguy.mac.dock : Ensure Dock item Sublime Text exists.] ************ fatal: [192.168.64.4]: FAILED! => changed=false cmd: dockutil --add '/Applications/Sublime Text.app/' --label 'Sublime Text' msg: '[Errno 2] No such file or directory: b''dockutil''' rc: 2 stderr: '' stderr_lines: <omitted> stdout: '' stdout_lines: <omitted>

This is using the default config file. Has anyone ran into this issue themselves? I am testing the playbook on a Virtual Machine using Tart, running the playbook off the host machine (not locally on the virtual machine).

github-actions[bot] commented 5 months ago

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.

j0nv0 commented 4 months ago

There also seems to be problem with the way geerlingguy.mac.dock tries to ensure dockutil is installed. Since recently, I get the following error, on a previously working setup:

TASK [geerlingguy.mac.dock : Install dockutil.] *************
fatal: [127.0.0.1]: FAILED! => changed=false 
  msg: 'Warning: Cask ''dockutil'' is unavailable: ''/opt/homebrew/Library/Taps/hpedrorodrigues/homebrew-tools/Casks/dockutil.rb'' does not exist.'

Maybe the Cask was moved?

github-actions[bot] commented 4 days ago

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.

Kylmakalle commented 4 days ago

Yet it's still a valid issue