Closed Bussmeyer closed 4 months ago
Hello, tried to fix it.
Hey @popstas, thanks for the fix. I can confirm that it fixes the second error I mentioned. The first one still pops up.
TASK [viasite-ansible.zsh : Install zsh, git, wget, fd-find] *********************************************************************************************************************** fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Error: Running Homebrew as root is extremely dangerous and no longer supported.\nAs Homebrew does not drop privileges on installation you would be giving all\nbuild scripts full access to your system."}
Thank you, I'm going to obtain a MacOS machine in June and investigate how to fix it.
Hello, @Bussmeyer, i've made some changes for macos:
Can you try it?
Nice. It just works for me now :-)
I am on a
Mac Intel on Ventura 13.6.4
My playbook looks like:
If I run
ansible-playbook main.yml -K --tags="zsh"
I get the following error message:
If I change in install.yml to
become: no
in line 18, the next error pops up.fd-find is not available via brew on Mac.
If I change the line 15 in install.yml to
- fd
everthing works fine. Asfd
is available via brew.