ansible_role_antigen
ansible_role_antigen copied to clipboard
Homebrew permissions
I am trying to use this role on osx catalina but having some issues. Would you steer me in the right direction.
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.
from another repo...
https://github.com/viasite-ansible/ansible-role-zsh/blob/master/tasks/install.yml#L11-L12
Does this only work with linux?
I got the same today and defaulted back to the this role instead: https://github.com/gantsign/ansible-role-oh-my-zsh
It looks like the issue was previously fixed there in this commit. Maybe I can make a PR to include a similar fix here.
a workaround is to have:
vars:
ansible_become: "{{ ansible_distribution != 'MacOSX' }}"
in the role