Skip to content

jgkim/ansible-role-brew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: brew

Build Status

This role ensures that Homebrew and its configured packages are installed on OS X.

Requirements

  • Xcode Command Line Tools

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

brew_dir: /opt/homebrew

The path where Homebrew will be installed. By default, it will install Homebrew to /opt/homebrew. Some things may not build when installed here, but to avoid security issues and /usr/local being a mess with other stuff, it is recommend stick to this default.

brew_taps: []

Taps you would like to make sure Homebrew has added via brew tap.

brew_upgrade_all: False

Whether to update Homebrew and upgrade all packages installed by it. If you prefer to manually update packages via brew command, leave this set to False.

brew_packages: []

Packages you would like to make sure are installed via brew install.

app_dir: /Applications

The path where applications will be installed. By default, it will install applications to /Applications.

cask_packages: []

Packages you would like to make sure are installed via brew cask install.

Dependencies

None.

Example Playbook

- hosts: localhost
  connection: local
  vars:
    brew_taps:
      - homebrew/completions
    brew_upgrade_all: True
    brew_packages:
      - wget
    cask_packages:
      - google-chrome
  roles:
     - { role: jgkim.brew }

License

MIT

Author Information

This role was written by James G. Kim, after being inspired by others.

About

Ansible role for Homebrew on OS X

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published