Skip to content

Playbook crashing when it tries to install homebrew #1

@Xyz3R

Description

@Xyz3R

Requires to be run as non-root

TASK [Install Homebrew (macOS and Linux)] ************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n", "delta": "0:00:00.118638", "end": "2026-01-13 14:50:55.184116", "msg": "non-zero return code", "rc": 1, "start": "2026-01-13 14:50:55.065478", "stderr": "Don't run this as root!", "stderr_lines": ["Don't run this as root!"], "stdout": "==> Running in non-interactive mode because $NONINTERACTIVE is set.\n==> Checking for sudo access (which may request your password)...", "stdout_lines": ["==> Running in non-interactive mode because $NONINTERACTIVE is set.", "==> Checking for sudo access (which may request your password)..."]}

PLAY RECAP *******************************************************************************************************************************
localhost : ok=10 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions