call update-grub after changing config
[noc.git] / ansible / roles / base / tasks / 07grub.yml
index dbc9b32..d413ff6 100644 (file)
@@ -5,3 +5,4 @@
     regexp: '^#?GRUB_CMDLINE_LINUX='
     line: 'GRUB_CMDLINE_LINUX="{% for opt,val in (install.kernel_cmdline | default({})).items() %}{{ opt }}={{ val }}{% if not loop.last %} {% endif %}{% endfor %}"'
   when: install is defined and install.kernel_cmdline is defined
+  notify: update grub