Fixes #25: Make it easier to override configuration/vars.

This commit is contained in:
Jeff Geerling 2016-11-28 12:07:42 -06:00
parent c9345f05af
commit d37612eb63
3 changed files with 13 additions and 2 deletions

View file

@ -22,7 +22,13 @@ This is a work in progress, and is mostly a means for me to document my current
> Note: If some Homebrew commands fail, you might need to agree to XCode's license or fix some other Brew issue. Run `brew doctor` to see if this is the case.
## Included Applications / Configuration
## Overriding Defaults
Not everyone's development environment and preferred software configuration is the same.
You can override any of the defaults configured in `default.config.yml` by creating a `config.yml` file and setting the overrides in that file (e.g. create a customized list of `homebrew_installed_packages`).
## Included Applications / Configuration (Default)
Applications (installed with Homebrew Cask):

View file

@ -3,7 +3,12 @@
connection: local
vars_files:
- vars/main.yml
- default.config.yml
pre_tasks:
- include_vars: "{{ item }}"
with_fileglob:
- config.yml
roles:
- geerlingguy.homebrew