Skip to content

ekka21/mac-dev-playbook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mac Development Ansible Playbook

Build Status

This playbook installs and configures most of the software I use on my Mac for web and software development. Some things in macOS are difficult to automate (notably, the Mac App Store and certain tools from Apple), so I still have some manual installation steps, but at least it's all documented here.

This is a work in progress, and is mostly a means for me to document my current Mac's setup. I'll be adding settings and packages to this set of playbooks over time.

See also:

Installation

  1. Install Ansible.
  2. Ensure Apple's command line tools are installed (xcode-select --install to launch the installer).
  3. Clone this repository to your local drive.
  4. Run $ ansible-galaxy install -r requirements.yml inside this directory to install required Ansible roles.
  5. Run ansible-playbook main.yml -i inventory -u [username] -K inside this directory (substitute [username] for your macOS account username). Enter your account password when prompted.

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

Applications (installed with Homebrew Cask):

  • google-chrome
  • sequel-pro
  • vagrant
  • virtualbox
  • slack
  • iterm2
  • lastpass
  • sizeup
  • flycut
  • spotify
  • docker

Packages (installed with Homebrew):

  • pv
  • openssl
  • git
  • git-flow
  • go
  • gpg
  • python
  • sqlite
  • zsh
  • vim
  • tmux
  • nvm
  • npm
  • tig
  • ssh-copy-id
  • htop
  • php70
  • php70-mcrypt

My dotfiles are also installed into the current user's home directory.

Finally, there are a few other preferences and settings added on for various apps and services.

Ansible for DevOps

Check out Ansible for DevOps, which will teach you how to do some other amazing things with Ansible.

Author

Ekkachai Danwanichakul, 2016 (originally inspired by Jeff Geerling, 2014 (also originally inspired by MWGriffin/ansible-playbooks)).

About

Web/app development Mac setup via Ansible.

Resources

License

Stars

Watchers

Forks

Packages

No packages published