Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Ansible: Rework grub command line
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
performance_tuning
/
tasks
/
main.yaml
diff --git
a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml
b/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml
index
3a8f35b
..
c437b40
100644
(file)
--- a/
resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml
+++ b/
resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml
@@
-19,7
+19,7
@@
path: "/etc/default/grub"
state: "present"
regexp: "^GRUB_CMDLINE_LINUX="
path: "/etc/default/grub"
state: "present"
regexp: "^GRUB_CMDLINE_LINUX="
- line: "
{{ grub_cmdline_linux[ansible_machine] | join() }}
"
+ line: "
GRUB_CMDLINE_LINUX=\"{% for key, value in grub.items() %}{% if value %}{{key}}={{value}} {% else %}{{key}} {% endif %}{% endfor %}\"
"
notify:
- "Update GRUB"
tags:
notify:
- "Update GRUB"
tags: