-
Notifications
You must be signed in to change notification settings - Fork 22
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
Task ipv6 grub disable fails for grub1 #8
Comments
Per https://www.gnu.org/software/grub/grub-legacy.htmlM Which environment are you using? You can set/keep ipv6_grub_disable to false and handle specifics in your own playbook if really requiring grub-legacy but advise to update to current grub2 |
In Ubuntu 22.04 LTS (which is pretty new), there seems to the only "grub-mkconfig" , but not "grub2-mkconfig"
but it looks like its v2 anyway? |
yes, it seems I missed a change should be fixed with 686a94e |
Closing old issue |
Ubuntu 22.04
|
Reviewing this and recent github actions, it seems github runner images have no grub and as the result, this handler is not tested properly when disabling ipv6 at grub level. It seems that like binary, folders have been reverted to grub too, probably as no more grub1 package/folder. |
The task notified in
ansible-ipv6/tasks/ipv6-grub-disable.yml
Line 30 in 3d71113
fails because we don't have grub2-command on the servers.
Do you have a nice solution to execute the ansible.builtin.command "update-grub ; grub-mkconfig -o /boot/grub/grub.cfg" instead of "grub2-mkconfig -o /boot/grub2/grub.cfg" instead in https://github.com/juju4/ansible-ipv6/blob/master/handlers/main.yml#L32 if there is no grub2 installed?
The text was updated successfully, but these errors were encountered: