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

Commit

Permalink
Fix YAMLlint warning + Missing header package.
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed Jul 26, 2019
1 parent 2bc9710 commit d307f4c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
20 changes: 10 additions & 10 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ galaxy_info:
- name: EL
versions:
- 7
#- name: Ubuntu
# versions:
# - xenial
# - bionic
# - name: Ubuntu
# versions:
# - xenial
# - bionic
galaxy_tags:
- system
- cloud
Expand All @@ -24,9 +24,9 @@ galaxy_info:
- ec2

dependencies: []
# TODO: Currently work only on CentOS 7 with a specific XRT package
#- role: accelize.xilinx_xrt
# when: aws_fpga_xrt | bool
# vars:
# xilinx_xrt_aws: true
# xilinx_xrt_version: 2018.3
# TODO: Currently work only on CentOS 7 with a specific XRT package
# - role: accelize.xilinx_xrt
# when: aws_fpga_xrt | bool
# vars:
# xilinx_xrt_aws: true
# xilinx_xrt_version: 2018.3
3 changes: 3 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
package:
name:
- "kernel-devel-{{ ansible_kernel }}"
- "kernel-headers-{{ ansible_kernel }}"
- elfutils-libelf-devel
state: present
retries: 10
Expand Down Expand Up @@ -100,6 +101,7 @@
- "/usr/sbin/modprobe {{ aws_fpga_driver }}"
when: aws_fpga_driver != '' and not libfpga_mgmt.stat.exists

# Force the use of as specific XRT, because it is the only version that work
- name: Download xrt/xrt-aws packages
get_url:
url: "{{ s3_dev_ami_url }}{{ aws_xrt_package }}-{{ item }}.rpm"
Expand All @@ -115,6 +117,7 @@
package:
name:
- "kernel-devel-{{ ansible_kernel }}"
- "kernel-headers-{{ ansible_kernel }}"
- epel-release
state: present
retries: 10
Expand Down

0 comments on commit d307f4c

Please sign in to comment.