summaryrefslogtreecommitdiffstats
path: root/ansible/roles/enable_hugepages_on_boot/tasks/main.yml
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-10-02 22:21:09 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-02 22:21:09 +0000
commit570cb78d5906143d19d95bf2d7fe1764e52cf68b (patch)
treec6f580f40b6f8f2ffd852e893da77c8151e684e4 /ansible/roles/enable_hugepages_on_boot/tasks/main.yml
parente3d159300e64bdd222d8c397bacbc1f26ee3246d (diff)
parent3c777566882949ee6ef1b12905abdb3cc13a68dd (diff)
Merge "ansible: add grub.cfg hugepages regexp replace"
Diffstat (limited to 'ansible/roles/enable_hugepages_on_boot/tasks/main.yml')
-rwxr-xr-xansible/roles/enable_hugepages_on_boot/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/roles/enable_hugepages_on_boot/tasks/main.yml b/ansible/roles/enable_hugepages_on_boot/tasks/main.yml
index c5c615bb3..29432d2e4 100755
--- a/ansible/roles/enable_hugepages_on_boot/tasks/main.yml
+++ b/ansible/roles/enable_hugepages_on_boot/tasks/main.yml
@@ -58,3 +58,7 @@
- service:
name: procps
enabled: yes
+
+- include: manual_modify_grub.yml
+ # only tested on Ubuntu, kernel line is probably different on other distros
+ when: ansible_distribution == "Ubuntu"