Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: deprecation errors in macos 10.x #3130

Merged
merged 5 commits into from
Dec 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ansible/roles/package-upgrade/tasks/partials/brew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,20 @@
script: files/install-homebrew.sh
when: os == "macos11.0" and not armbrew.stat.exists

# Ignoring deprecation errors in MacOS 10.x
- name: Upgrade installed packages
UlisesGascon marked this conversation as resolved.
Show resolved Hide resolved
become_user: "{{ ansible_user }}"
homebrew:
upgrade_all: yes
when: os != "macos11.0"
ignore_errors: true
UlisesGascon marked this conversation as resolved.
Show resolved Hide resolved


- name: Upgrade installed packages
become_user: "{{ ansible_user }}"
homebrew:
upgrade_all: yes
when: os == "macos11.0"
UlisesGascon marked this conversation as resolved.
Show resolved Hide resolved

- name: Install brew cu
become_user: "{{ ansible_user }}"
Expand Down