summaryrefslogtreecommitdiff
path: root/roles/core/base/tasks
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-06-24 12:13:36 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-06-24 12:13:36 +0200
commitc79f36425c7af864e26af65999985674b93a513b (patch)
tree7d7fc9535e513a16b800900e078c6cfd09303258 /roles/core/base/tasks
parentupdate ch-router and add ch-nic (diff)
some minor cleanup
Diffstat (limited to 'roles/core/base/tasks')
-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