aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_dpdk/tasks/RedHat.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/install_dpdk/tasks/RedHat.yml')
-rw-r--r--ansible/roles/install_dpdk/tasks/RedHat.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/install_dpdk/tasks/RedHat.yml b/ansible/roles/install_dpdk/tasks/RedHat.yml
index af35c9b3e..2fb249eae 100644
--- a/ansible/roles/install_dpdk/tasks/RedHat.yml
+++ b/ansible/roles/install_dpdk/tasks/RedHat.yml
@@ -17,3 +17,5 @@
with_items:
- libpcap-devel
+- name: Install kernel headers
+ action: "{{ ansible_pkg_mgr }} name=kernel-headers-{{ dpdk_kernel }} state=present"