-- name: Get vfio-pci WC Patch >=5.8
- get_url:
- url: "https://github.com/amzn/amzn-drivers/raw/master/userspace/dpdk/enav2-vfio-patch/patches/linux-5.8-vfio-wc.patch"
- dest: "/opt/patches/linux-5.8-vfio-wc.patch"
- mode: "744"
+- name: Patch WC Patch Script
+ ansible.builtin.lineinfile:
+ path: "/opt/get-vfio-with-wc.sh"
+ regexp: '^ rm -f linux-'
+ line: " rm -f linux-*.dsc linux-*.gz linux-*.xz"