homebrew

Homebrew for Linux

Galaxy Quality Role version Role downloads GitHub Actions License

This Ansible Role will install Homebrew for Linux system and install formulae using it.

Requirements

  • System must have access to the GitHub.

Supported Linux Shells:

  • bash
  • fish
  • zsh

Supported CPU architectures:

  • AMD64, x86_64

Tested on:

  • CentOS/RHEL 8
  • Debian 10,11
  • Fedora 35
  • Rocky Linux 8
  • Ubuntu 18,20

Role Variables

This is a copy from defaults/main.yml

# Homebrew packages to be installed
brew_formulae: []

# Homebrew git repo
homebrew_git_repo: "https://github.com/Homebrew/brew"

# Homebrew release (default is the master github repo)
homebrew_release: "master"

# Homebrew user
homebrew_user: "{{ lookup('env', 'USER') }}"

Example Playbook

In this example ...

---
- name: Install Homebrew and aws-vault using homebrew
  hosts: all
  user: mike
  become: yes
  vars:
    brew_formulae:
      - aws-vault
  roles:
    - role: monolithprojects.homebrew

License

MIT

Author Information

Created in 2021 by Michal Muransky

Install
ansible-galaxy install MonolithProjects/ansible-homebrew
GitHub repository
License
mit
Downloads
13070
Owner
Full-time Cloud Engineer, part-time adventurer