Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

Commit

Permalink
Remove kernel install from task (Already in dependency role)
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed Oct 4, 2019
1 parent a484206 commit dda3b73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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] }}"
16 changes: 4 additions & 12 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit dda3b73

Please sign in to comment.