Skip to content

Simple ansible playbook to install all software that you need to new macOS environment

License

Notifications You must be signed in to change notification settings

Nklya/macOS-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple ansible playbook to install all software that you need to new macOS environment

Based on Jeff Geerling's work

NOTE: Managing Dock items in macOS Mojave is VERY strange (it's practically do not work)!

HOWTO

  • 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 run ansible 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 by mas search <app_name>

Files

  • create_env.sh - main runnable script. Install brew, ansible, and runs playbook
  • create_env.yml - ansible playbook
  • env_vars.sh - variables for playbook
  • env_vars.yml - default variables
  • vars - directory for various examples

Useful links

About

Simple ansible playbook to install all software that you need to new macOS environment

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages