$ brew update
$ brew install python ansible
# 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