Based on Jeff Geerling's work
NOTE: Managing Dock items in macOS Mojave is VERY strange (it's practically do not work)!
- Customize your settings in env_vars.yml (brew apps, cask apps, mas apps, dock items)
- Run
./create_env.sh
. It will install brew, zsh, ansible and runansible create_env.yml
- To setup particular feature, you can run
./create_env.sh brew/cask/mas/dock
- apps - install all apps,
- brew - install homebrew apps,
- cask - homebrew cask apps,
- mas - App Store apps,
- dock - remove and change order
- You also can combine them with comma, e.g.
create_env.sh brew,mas
- You can provide path to different vars file with second parameter, e.g.
create_env.sh all vars/env_vars_media.yml
- To select where to install ansible you can use third parameter, brew(default) or pyenv, e.g.
create_env.sh all vars/env_vars_work.yml pyenv
- P.S. id for App Store apps in
mas_installed_apps
you can get bymas search <app_name>
create_env.sh
- main runnable script. Install brew, ansible, and runs playbookcreate_env.yml
- ansible playbookenv_vars.sh
- variables for playbookenv_vars.yml
- default variablesvars
- directory for various examples