-
Notifications
You must be signed in to change notification settings - Fork 39
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
[#180] Switch over to lt kernel and remove old kernels #182
base: master
Are you sure you want to change the base?
Conversation
ansible-scylla-node/tasks/RedHat.yml
Outdated
@@ -62,7 +77,7 @@ | |||
pre_reboot_delay: 0 | |||
post_reboot_delay: 30 | |||
test_command: whoami | |||
when: reboot_after_kernel_upgrade|bool and kernel_installed.changed | |||
when: (reboot_after_kernel_upgrade|bool and kernel_installed.changed) r restart_required.rc == 1 |
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.
OR ? (not r ? ) typo @Rumbles ?
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.
Hi, you're right there is a mistake here, but I ran in a to a larger issue... when I tested this method, the yum package absent step will fail as one of the kernels it tries to remove is the running kernel...
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.
ok, I think that should be better now
ccf9d78
to
0fece9c
Compare
I think this can be merged, @vladzcloudius any comments? |
Extends #181 to enable the kernel repo, remove old kernels and set the machine to reboot if required by yum
Closes #180