File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11- name : Update GRUB configuration file
2- ansible.builtin.command : grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline
2+ ansible.builtin.command : " grub2-mkconfig -o /boot/grub2/grub.cfg {{ ' --update-bls-cmdline' if ansible_distribution_major_version == '9' else '' }} "
33 when : update_grub.changed
Original file line number Diff line number Diff line change 99 backup : true
1010 backrefs : true
1111 register : update_grub
12+ notify :
13+ - Update GRUB configuration file
1214 vars :
1315 grub_cmdline_var :
1416 ' 8 ' : GRUB_CMDLINE_LINUX
1517 ' 9 ' : GRUB_CMDLINE_LINUX_DEFAULT
16-
17- - name : Update GRUB configuration file
18- ansible.builtin.command : grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline
19- when : update_grub.changed
You can’t perform that action at this time.
0 commit comments