diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-18 13:36:02 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-08-23 22:06:56 -0700 |
commit | 1d91850970f89ff6b383c26a1cf9fbc5e9ac78eb (patch) | |
tree | 4c33c3358ab01cdbf431986ce75bd4dc6419d9fe /ansible/roles/enable_hugepages_on_boot | |
parent | 5ed1f7ebbe7a9ae6138f56051a15e7774f6e71b9 (diff) |
ansible: update dpdk, trex and samplevnf install
we now clone samplevnf from git repo
made install_samplevnf role that takes as parameter VNF name
added ubuntu_server_cloudimg_modify_samplevnfs playbook
Change-Id: I5724e3b844b3137542a5c293516893a5c80f5c61
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
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 }}" |