Manages the installation of applications on macOS. Applications can be installed by Homebrew packages, casks or taps, Composer, Gem, NPM or Pip.
Tested on both macOS Catalina and macOS Mojave.
Edit 'default.config.yml' and add the applications wanted to be installed here.
homebrew_installed_packages:
- bash-completion
- nmap
- wget
- dockutil
homebrew_taps:
- homebrew/core
- homebrew/cask
homebrew_cask_appdir: /Applications
homebrew_cask_apps:
- 1password6
- atext
- caffeine
- dropbox
- google-chrome
- iterm2
- microsoft-office
- spotify
- visual-studio-code
composer_packages: []
# - name: drush
# state: present # present/absent, default: present
# version: "^8.1" # default: N/A
gem_packages: []
# - name: bundler
# state: present # present/absent/latest, default: present
# version: "~> 1.15.1" # default: N/A
npm_packages: []
# - name: webpack
# state: present # present/absent/latest, default: present
# version: "^2.6" # default: N/A
pip_packages: []
# - name: mkdocs
# state: present # present/absent/latest, default: present
# version: "0.16.3" # default: N/A
$ ansible-galaxy install -r requirements.yml
$ ansible-playbook -i inventory --ask-become-pass main.yml
Included is run.sh
that will install the xCode command line tools, install homebrew, git, homebrew cask versions, pip and ansible before running the playbook.
$ ./run.sh
MIT / BSD