You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When We were working on #3112, I discovered that Ansible scripts are not working properly for macos10.14 and macos10.15.
The first time I tried to run the script I got an error related to brew cask:
TASK [package-upgrade : Add AdoptOpenJDK Java Repo] *********************************************************************************************************
ok: [test-orka-macos10.14-x64-2]
TASK [package-upgrade : Update Casks]
...
Deleted Formulae\npython\n\nYou have 12 outdated formulae and 1 outdated cask installed.\nYou can upgrade them with brew upgrade\nor list them with brew outdated.\n\nError: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead."}
In the next attempt the script stops at this stage:
I can confirm that the playbook works perfect for macos11 machines.
Activity
[-]Ansible Jenkins macos machines challenges[/-][+]Ansible Jenkins macos10.x machines challenges[/+]targos commentedon Dec 18, 2022
I'm pretty sure that's because of #3087
UlisesGascon commentedon Dec 20, 2022
I will need to patch Ansible to ignore this error. The upgrade still working (manually tried), but we need to ignore this error due deprecation
fix: deprecation errors in macos 10.x
fix: deprecation errors in Ansible for macos 10.x (#3130)