Skip to content

Ubuntu Upgrade Script tweaks#2141

Merged
priteau merged 4 commits intostackhpc/2024.1from
2024.1/ubuntu-upgrade-script
Feb 20, 2026
Merged

Ubuntu Upgrade Script tweaks#2141
priteau merged 4 commits intostackhpc/2024.1from
2024.1/ubuntu-upgrade-script

Conversation

@jovial
Copy link
Copy Markdown
Contributor

@jovial jovial commented Feb 6, 2026

  • Tweaked ordering to fix various issues
  • Added additional tags so that you can resume if something goes wrong

- Tweaked ordering to fix various issues
- Added additional tags so that you can resume if something goes wrong
@jovial jovial requested a review from a team as a code owner February 6, 2026 18:30
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the Ubuntu upgrade playbook by reordering tasks and adding tags, which should make the process more robust and easier to resume on failure. The changes are logical, grouping repository cleanup tasks together. I've added a few suggestions to remove some minor redundancies introduced in the new code, such as an unnecessary loop and duplicate tags.

remote_src: true
become: true
when: hostvars[inventory_hostname].stackhpc_repos_enabled
tags: post
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The post tag is already applied to the entire play, so this tags definition is redundant and can be removed.

- sources.list.d/ubuntu.sources
become: true
when: hostvars[inventory_hostname].stackhpc_repos_enabled
tags: post
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The post tag is already applied to the entire play, so this tags definition is redundant and can be removed.

@priteau priteau merged commit 4575b69 into stackhpc/2024.1 Feb 20, 2026
23 checks passed
@priteau priteau deleted the 2024.1/ubuntu-upgrade-script branch February 20, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants