Install Software with Homebrew in Ansible

Red Hat Ansible Red Hat Ansible

Pretty cool! I started automating my macOS setup and discovered that mighty Ansible ecosystem has even Homebrew automation!

Example of Homebrew Cask in Ansible

Here’s how I can install Brave browser using homebrew_cask module:

- name: Install Brave for macOS 
  become_user: greys
	name: brave-browser
	state: latest
	- brave
	ansible_os_family == "Darwin"

See Also

Keep Learning with Me

Follow me on Facebook and Twitter or jump into Telegram chat!:
Recommended Software
I use Brave browser, it's awesome: Brave Browser I'm also a fan of SetApp for macOS: SetApp for macOS
IT Consultancy
I'm a principal consultant with Tech Stack Solutions. I help with cloud architectrure, AWS deployments and automated management of Unix/Linux infrastructure. Get in touch!

Recent Tweets