diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-25 20:00:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-25 20:00:13 +0000 |
commit | afd31c1c34ef66f23e17bbdb2316e7f4bc1bf7ec (patch) | |
tree | d7d1da145d0c0b39fec04b1a06a173a8573c3920 /ansible/roles/enable_hugepages_on_boot | |
parent | 15f6586bf0d2ed6b3f03dc3574a4dff5d9a3c64e (diff) | |
parent | 1d91850970f89ff6b383c26a1cf9fbc5e9ac78eb (diff) |
Merge "ansible: update dpdk, trex and samplevnf install"
Diffstat (limited to 'ansible/roles/enable_hugepages_on_boot')
-rw-r--r-- | ansible/roles/enable_hugepages_on_boot/defaults/main.yml | 3 | ||||
-rwxr-xr-x | ansible/roles/enable_hugepages_on_boot/tasks/main.yml | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/ansible/roles/enable_hugepages_on_boot/defaults/main.yml b/ansible/roles/enable_hugepages_on_boot/defaults/main.yml new file mode 100644 index 000000000..015e01bab --- /dev/null +++ b/ansible/roles/enable_hugepages_on_boot/defaults/main.yml @@ -0,0 +1,3 @@ +--- +num_hugepages: auto +huge_pagesize_mb: 1024
\ No newline at end of file diff --git a/ansible/roles/enable_hugepages_on_boot/tasks/main.yml b/ansible/roles/enable_hugepages_on_boot/tasks/main.yml index f258bb684..be4a328a2 100755 --- a/ansible/roles/enable_hugepages_on_boot/tasks/main.yml +++ b/ansible/roles/enable_hugepages_on_boot/tasks/main.yml @@ -38,15 +38,11 @@ line: '{{ hugepage_param }}' state: present -- name: Update grub - command: "{{ update_grub[ansible_os_family] }}" - - name: create hugetables mount file: path: "{{ hugetable_mount }}" state: directory - - name: mount hugetlbfs mount: name: "{{ hugetable_mount }}" |