ansible-collection-mac
ansible-collection-mac copied to clipboard
feat(homebrew): Add option to upgrade all casks
Hi
I had an issue with upgrading as some casks weren't upgraded. I tried to use the cu plugin to upgrade all the casks, including those who wouldn't be upgraded as they are marked as "auto_upgrade". I used this command in my playbook: brew cu -a -y
But I think it should be part of this role, therefore I submit this PR. I tested it locally here.
Before the test:
$ brew outdated --cask --greedy
font-roboto (latest) != latest
font-roboto-mono (latest) != latest
webex-meetings (2211.1803.4212.2) != latest
wireshark (4.0.2) != 4.0.10
After the test:
$ brew outdated --cask --greedy
font-roboto (latest) != latest
font-roboto-mono (latest) != latest
I've no idea about the fonts. Probably there's an issue with the version being latest.
This PR adds a task to the cask part like it already exists in the brew part. It has a similar variable to enable it, and like the task in the brew part, it's disabled by default.
Br
@geerlingguy does it look okay for you?
This pull request has been marked 'stale' due to lack of recent activity. If there is no further activity, the PR will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark pull requests as stale.
still thinks this is a good idea... how about you @geerlingguy
This pull request is no longer marked for closure.