Skip to content

Commit

Permalink
unixPB: improves common > macos task by using module for brew
Browse files Browse the repository at this point in the history
It replaces `command` with `homebrew_cask` module for Update Casks task in common > macos.

Signed-off-by: [email protected]
  • Loading branch information
mahdipub committed Sep 30, 2024
1 parent d483066 commit 137c288
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@

# Skipping linting as no situation where this can't run (lint error 301)
- name: Update Casks
become: yes
become_user: "{{ ansible_user }}"
command: "{{ homebrew_path }}/brew cu -y"
homebrew_cask:
upgrade_all: yes
path: "{{ homebrew_path }}/brew"
tags:
- brew_cu
- skip_ansible_lint
Expand Down

0 comments on commit 137c288

Please sign in to comment.