-
Notifications
You must be signed in to change notification settings - Fork 0
epic: Upgrade to Ubuntu 24.04.03 LTS #520
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
base: master
Are you sure you want to change the base?
Conversation
SilasPeters
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this review has never been submitted, whoops. DOn't know if it is outdated, but I need to do other thigns now.
13eaf27 to
3956ebf
Compare
|
Don't merge just yet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually we should first try to minimize the harbor removal, move it to a new branch or something, or try removing it simply from main.yml
This PR upgrades our servers to Ubuntu 24.04.03 LTS. Below is a list of the
changes made, since it affects quite a few files.
README
The README is out-of-date in several places. I updated it in the places that were
relevant to this PR, but we should update the entire thing. I created #521 to address this.
ansible/deploy.pyMade it so that when you do not pass
--roles,--fromor--untilit sendsthe string "All" to discord instead of the empty string.
Role
vars/Ubuntu 24 has some subtle changes to the way user home creations are handled.
No roles make a user home, they explicitly add it. If this is not done, nginx
does not have the correct permissions to access websites' files, making it so
that websites do not work entirely.
Put user homes in variables to avoid hardcoding.
The following roles are affected by this:
AWS Console
On Ubuntu 24.04, the apt package
awsclidoes not exist anymore. It has beenmoved to snap. There were also some roles that used
awsclibut depended onother roles installing it. They now explicitly install it.
Pretix
Python versions have been updated to 3.12. Silas and I think we should look
into moving pretix to uv for consistency with other projects.
The role previously depended on the
venvalready existing, added a check tosee if it does.
Ubuntu 24 no longer has
awscliin apt. It has been moved to snap. Some rolesdepended on other roles installing it. They now explicitly install it.