mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-21 19:33:03 +00:00
Fixes #25: Make it easier to override configuration/vars.
This commit is contained in:
parent
c9345f05af
commit
d37612eb63
3 changed files with 13 additions and 2 deletions
|
@ -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):
|
||||
|
||||
|
|
7
main.yml
7
main.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue