github.com/imran-kn/cilium-fork@v1.6.9/contrib/ansible/roles/kernel/tasks/kernel_install.yml (about) 1 --- 2 3 - name: Delete old kernel and modules 4 command: "{{ item }}" 5 with_items: 6 - bash -c "\rm -Rf /lib/modules/*" 7 - bash -c "\rm /boot/*-custom" 8 ignore_errors: yes 9 10 - name: Install kernel and modules 11 command: "{{ item }} chdir={{ kernel_home }}/net-next" 12 with_items: 13 - make modules_install 14 - make install 15 - make headers_install INSTALL_HDR_PATH=/usr/ 16 - make -C tools/perf install