Quantcast
Channel: Unix Tutorial
Viewing all articles
Browse latest Browse all 150

Install Software with Homebrew in Ansible

$
0
0
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
  homebrew_cask: 
    name: brave-browser
    state: latest
  tags:
    - brave
  when:
    ansible_os_family == "Darwin"

See Also


Viewing all articles
Browse latest Browse all 150

Trending Articles