aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-02-25 16:03:21 +0000
committerPeter Mikus <pmikus@cisco.com>2019-02-26 08:27:54 +0000
commitd978e8c6d58a8c37a3ff80a7a52e35b6574be553 (patch)
treef10574fd4e1dd5080c1655d9bc9f92db4daef6b2 /resources/tools/testbed-setup/ansible/roles/vpp_device/tasks
parentcf260b77de34ac29e115ed9137904205d9f60ffc (diff)
CSIT-1448 Ansible: Clean hugepage configuration
Change-Id: I1e91d63bb5cd671d2d1d94f8711233bec0fe6505 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/vpp_device/tasks')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml
index d07f328424..c3fbfeb1c6 100644
--- a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml
@@ -25,6 +25,6 @@
path: '/etc/default/grub'
state: 'present'
regexp: '^GRUB_CMDLINE_LINUX='
- line: 'GRUB_CMDLINE_LINUX="hugepagesz=2M hugepages=65536"'
+ line: 'GRUB_CMDLINE_LINUX="hugepagesz=2M hugepages={{ grub.nr_hugepages }}"'
notify: ['Update GRUB']
-
+ tags: set-grub