https://github.com/monolithprojects/ansible-homebrew
Ansible Role to deploy Homebrew for Linux and to install formulae.
https://github.com/monolithprojects/ansible-homebrew
Last synced: 6 months ago
JSON representation
Ansible Role to deploy Homebrew for Linux and to install formulae.
- Host: GitHub
- URL: https://github.com/monolithprojects/ansible-homebrew
- Owner: MonolithProjects
- License: mit
- Created: 2021-06-20T22:36:26.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-06T21:52:01.000Z (over 4 years ago)
- Last Synced: 2025-01-23T06:45:18.203Z (over 1 year ago)
- Homepage: https://galaxy.ansible.com/monolithprojects/homebrew
- Size: 42 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Homebrew for Linux
[](https://galaxy.ansible.com/monolithprojects/homebrew)
[](https://galaxy.ansible.com/monolithprojects/homebrew)
[](https://galaxy.ansible.com/monolithprojects/homebrew)
[](https://github.com/MonolithProjects/ansible-homebrew/actions)
[](https://github.com/MonolithProjects/ansible-homebrew/blob/main/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`
```yaml
# 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 ...
```yaml
---
- 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