blob: 438095fc007de470333dc4c1c6d817b470319d98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
# file: roles/vpp_device/tasks/thunderx2.yaml
- name: Load Kernel Modules On Startup (vfio-pci)
ansible.builtin.lineinfile:
path: "/etc/modules"
state: "present"
line: "{{ item }}"
with_items:
- "vfio-pci"
tags:
- load-kernel-modules
- name: Disable Kernel Modules On Startup (cppc_cpufreq)
ansible.builtin.lineinfile:
path: "/etc/modprobe.d/blacklist-cppc_cpufreq.conf"
state: "present"
line: "{{ item }}"
create: "yes"
with_items:
- "blacklist cppc_cpufreq"
tags:
- disable-kernel-modules
|