ansible-mac icon indicating copy to clipboard operation
ansible-mac copied to clipboard

My macOS provisioner with ansible.

macOS provisioner

Usage

Prepare

$ brew update
$ brew install python ansible

Execute

# e.g. execute all with sudo
$ ansible-playbook localhost.yml -i hosts -K

# e.g. only install brew packages
$ ansible-playbook localhost.yml -i hosts --tags=brew

# e.g. execute all except installing brew and brew-cask packages
$ ansible-playbook localhost.yml -i hosts --skip-tags=brew,cask