monolithprojects.homebrew
Homebrew for Linux
This Ansible Role installs Homebrew on a Linux system and allows you to install packages with it.
Requirements
- The system must have access to 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
Below are the default variables you can use from defaults/main.yml
:
# Homebrew packages to install
brew_formulae: []
# Homebrew Git repository
homebrew_git_repo: "https://github.com/Homebrew/brew"
# Homebrew release used (default is the main GitHub repo)
homebrew_release: "master"
# Homebrew user
homebrew_user: "{{ lookup('env', 'USER') }}"
Example Playbook
Here’s an example of how to use it:
---
- 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.
Installa
ansible-galaxy install monolithprojects.homebrew
Licenza
mit
Download
14.1k
Proprietario
Full-time Cloud Engineer, part-time adventurer