ansible-collection-mac
ansible-collection-mac copied to clipboard
Error on [geerlingguy.mac.homebrew : Ensure proper ownership on homebrew_install_path subdirs.] OSError: [Errno 63] File name too long.
Hi,
I keep ending up with this error when trying to run geerlingguy.mac.homebrew. Have imitated what is in mac-dev-playbook. Runs through ok on initial playbook run yet if I run the playbook a second time I keep getting the error below. I've tried searching for any insight but no avail. Is this an error within geerlingguy.mac.homebrew or have I missed something.
It's been replicated on two clean installs of M1 Macs running macOS 14.4, Python 3.12.2, Ansible core 2.16.4.
TASK [geerlingguy.mac.homebrew : Ensure proper ownership on homebrew_install_path subdirs.] ***********
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 63] File name too long: b'/Applications/calibre.app/Contents/ebook-viewer.app/Contents/../../Frameworks/QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app/Contents/../../../../../../QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app/Contents/../../../../../../QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app/Contents/../../../../../../QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app/Contents/../../../../../../QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app/Contents/../../../../../../QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app/Contents/../../../../../../QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app/Contents/../../../../../../QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app/Contents/../../../../../../QtWebEngineCore.framework/Versions/Current/Helpers/QtWebEngineProcess.app/Contents/../../../../../../QtWebEngineCore.framework/QtWebEngineCore'
fatal: [127.0.0.1]: FAILED! => changed=false
module_stderr: |-
Traceback (most recent call last):
File "/Users/xxxx/.ansible/tmp/ansible-tmp-1710057066.6791492-28050-60271933514068/AnsiballZ_file.py", line 107, in
I encountered the same thing. The temporary solution is to uninstall Calibre, which will allow the playbook to get past that step. It's not the best option, but it does work.