-
Notifications
You must be signed in to change notification settings - Fork 167
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
ansible: install temurin JDK on macOS #3085
Conversation
I have never used Ansible before and I don't to break everything. Also, since this is completely changing how the package is installed, are we supposed to uninstall the previous stuff? How is that done? |
Ansible has a Also
would only run the playbook against
You can run one-off individual Ansible tasks with
You can also just ssh into the machine directly and remove the old package -- the idea of the Ansible scripts is that we can run them against a new/fresh image (which presumably will not have the old package) and the script should put the image into a usable state. |
I took https://ci.nodejs.org/computer/test-nearform-macos11.0-arm64-1/ offline to update it. |
Failed:
|
Oh I see, the problem is that on this mac, the administrator account is called |
Can I use |
you are going to hit a caveat on some machines where the user is sometimes My work around was to just change the user to admin run the ansible and then change it back. |
Install looks good!
|
I also updated |
@sxa thoughts? |
Yes, that should work. We use it elsewhere, e.g. build/ansible/roles/package-upgrade/tasks/partials/brew.yml Lines 28 to 29 in b02d187
|
I'd stick with LTS (17) personally for this. |
This comment was marked as resolved.
This comment was marked as resolved.
Update statusUpdated to Java 17
Impossible to connect via SSH
Offline
|
@AshCripps What am I missing to connect to the macstadium machines?
|
@targos I think theyve been down for a while - Ill raise a ticket with macstadium to investigate. |
SERVICE-146218 raised. It seems they have updated their portal and we can do things like hard reboots etc bu tthat requires a setting to be turned that I dont know if we have so Ive just raised a ticket for now. |
This PR is ready for review. I copied the update status in #3030 |
Refs: #3030