gantsign / ansible-role-oh-my-zsh

Ansible role for installing and configuring oh-my-zsh
https://galaxy.ansible.com/gantsign/oh-my-zsh
MIT License
165 stars 41 forks source link

Error when installing role on OSX #106

Closed yardbirdsax closed 4 years ago

yardbirdsax commented 4 years ago

When installing the role on OSX, the following error is received:

TASK [gantsign.oh-my-zsh : install dependencies] ****************************************************************************************************************************************************************************************
failed: [localhost] (item=git) => {"ansible_loop_var": "item", "changed": false, "item": "git", "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."}

Example configuration:

- role: gantsign.oh-my-zsh
      users:
        - username: "{{ user_name }}"
          plugins:
            - git
            - kube-ps1
            - vscode
yardbirdsax commented 4 years ago

Just to note, I believe I have this figured out and am testing a solution.