diff --git a/defaults/main.yml b/defaults/main.yml index 1d20294..306e37d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -24,7 +24,7 @@ xrt_package: "{{ xilinx_xrt_packages[xilinx_xrt_version | string] }}" # From https://github.com/aws/aws-fpga/blob/master/RELEASE_NOTES.md xilinx_xrt_ensure_compatible_kernel: true aws_xrt_kernels: - '2019.1': 3.10.0-957 + '2019.1': 3.10.0-1062 '2018.3': 3.10.0-957 '2018.2': 3.10.0-957 aws_linux_kernel_version: "{{ aws_xrt_kernels[xilinx_xrt_version | string] }}" diff --git a/tasks/main.yml b/tasks/main.yml index c9b59f2..38027cb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -77,12 +77,9 @@ delay: 1 when: (aws_fpga_xrt | bool) and not libfpga_mgmt.stat.exists -- name: Ensure xrt/xrt-aws packages dependencies are present +- name: Ensure EPEL repository is present package: - name: - - "kernel-devel-{{ ansible_kernel }}" - - "kernel-headers-{{ ansible_kernel }}" - - epel-release + name: epel-release state: present retries: 10 delay: 1 @@ -99,10 +96,7 @@ - name: Ensure AWS FPGA driver build dependencies are present package: - name: - - "kernel-devel-{{ ansible_kernel }}" - - "kernel-headers-{{ ansible_kernel }}" - - elfutils-libelf-devel + name: elfutils-libelf-devel state: present retries: 10 delay: 1 @@ -111,9 +105,7 @@ - name: Ensure AWS FPGA driver build dependencies are present package: - name: - - "linux-headers-{{ ansible_kernel }}" - - libelf-dev + name: libelf-dev state: present retries: 10 delay: 1