https://github.com/alphahydrae/ansible-homebrew
Ansible role that installs Homebrew.
https://github.com/alphahydrae/ansible-homebrew
Last synced: 4 months ago
JSON representation
Ansible role that installs Homebrew.
- Host: GitHub
- URL: https://github.com/alphahydrae/ansible-homebrew
- Owner: AlphaHydrae
- License: mit
- Created: 2016-06-20T12:46:10.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-21T22:14:55.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T22:15:26.986Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ansible Homebrew
[Ansible](https://www.ansible.com) role that installs [Homebrew](http://brew.sh), an OS X package manager.
## Role Variables
* `homebrew_user` (or `user`) - **required** - The user for which Homebrew will be installed, presumably an administrator of the machine (defaults to the value of the `user` variable).
* `homebrew_dir` - The directory where Homebrew will be installed (defaults to `/usr/local`).
* `homebrew_repo` - The repository to clone Homebrew from (defaults to `https://github.com/Homebrew/brew.git`).
* `homebrew_taps` `[array]` - Additional Homebrew formulae repositories to tap (defaults to `homebrew/dupes` and `homebrew/services`).
## Example Playbook
- hosts: servers
roles:
- role: AlphaHydrae.homebrew
homebrew_user: jdoe
**With a default user defined (e.g. at the playbook level)**
- hosts: servers
vars:
user: jdoe
roles:
- role: AlphaHydrae.homebrew