summaryrefslogtreecommitdiff
path: root/roles/core/base/tasks/Debian.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/core/base/tasks/Debian.yml')
-rw-r--r--roles/core/base/tasks/Debian.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/core/base/tasks/Debian.yml b/roles/core/base/tasks/Debian.yml
index 13c3c9f9..bec27bf9 100644
--- a/roles/core/base/tasks/Debian.yml
+++ b/roles/core/base/tasks/Debian.yml
@@ -104,11 +104,11 @@
ignoreerrors: yes
- name: set kernel command line options
+ when: install is defined and install.kernel_cmdline is defined
lineinfile:
path: /etc/default/grub
regexp: '^#?GRUB_CMDLINE_LINUX='
line: 'GRUB_CMDLINE_LINUX="{{ install.kernel_cmdline | join(" ") }}"'
- when: install is defined and install.kernel_cmdline is defined
notify: update grub
- name: apply stability fix/workaround for machines using intel NIC