diff options
author | pmikus <pmikus@cisco.com> | 2020-10-15 09:14:49 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-10-15 09:20:18 +0000 |
commit | fc9d16842e1a5aa7191bfa012fc42932bbaabc2a (patch) | |
tree | a18581f6f024156fdd71002bc4991160069e8d2a /resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml | |
parent | c240fc8d57080571d2575d966b6d1d20f551a05e (diff) |
Ansible: Rework grub command line
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I8abfc47e5e816e2ab4b39d7ad7575e672ae19ca6
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
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 3a8f35b57f..c437b40f86 100644 --- 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=" - 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: |