projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge PR#62: vault/gpg: show long key-ids
[noc.git]
/
ansible
/
roles
/
base
/
tasks
/
07grub.yml
diff --git
a/ansible/roles/base/tasks/07grub.yml
b/ansible/roles/base/tasks/07grub.yml
index
a52f542
..
4aa2122
100644
(file)
--- a/
ansible/roles/base/tasks/07grub.yml
+++ b/
ansible/roles/base/tasks/07grub.yml
@@
-3,6
+3,6
@@
lineinfile:
path: /etc/default/grub
regexp: '^#?GRUB_CMDLINE_LINUX='
lineinfile:
path: /etc/default/grub
regexp: '^#?GRUB_CMDLINE_LINUX='
- line: 'GRUB_CMDLINE_LINUX="{{ map(lambda opt, val: opt + "=" + val, (install.kernel_cmdline or {}).items()).join(" ") }}"'
+ line: 'GRUB_CMDLINE_LINUX="{{ install.kernel_cmdline | join(" ") }}"'
when: install is defined and install.kernel_cmdline is defined
notify: update grub
when: install is defined and install.kernel_cmdline is defined
notify: update grub