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

[Upgrade Ubuntu] changes for uk_staging2 #937

Merged
merged 11 commits into from
Oct 8, 2024
7 changes: 2 additions & 5 deletions inventory/group_vars/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,15 @@ swapfile_size: false

#----------------------------------------------------------------------
# Rails variables
ruby_version: 3.0.3
ruby_version: 3.1.4

rbenv_extra_depends:
- libjemalloc-dev

ruby_compile_options: "--with-jemalloc"

ruby_versions:
- version: 2.7.3
env:
RUBY_CONFIGURE_OPTS: "{{ ruby_compile_options }}"
- version: 3.0.3
- version: 3.1.4
env:
RUBY_CONFIGURE_OPTS: "{{ ruby_compile_options }}"
Comment on lines 60 to 63
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good one. New Ruby versions are now automatically installed during deploys. So we don't need to run Ansible for that. This is just for the initial version.

I wish that we could skip the version and take the version number from the ofn code but this role requires a version. So if we want to set up rbenv without installing ruby straight away then we can't use this role. Just one of the annoying Ansible things that we could replace with shell scripts...


Expand Down