summaryrefslogtreecommitdiffstats
path: root/roles/rocm/tasks/main.yml
blob: 4ae1a87e522ae55c7926a64a9af94e0687ea0a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- name: Configure DarkSoft repositories (for packages mangling provides/requires to suit ROCm)
  yum_repository:
    name: "ands_centos8"
    description: Various packages for CentOS8
    baseurl: "http://ufo.kit.edu/ands/repos/centos8/centos8/"
    gpgcheck: no
    enabled: yes

- name: Configure ROCm repositories (yum)
  yum_repository:
    name: "rocm"
    description: AMD ROCm Drivers and Infrastructure
    baseurl: "http://repo.radeon.com/rocm/yum/rpm/"
    gpgcheck: no
    enabled: yes

- name: Install ROCm drivers and packages
  package: name="{{ item }}" state=present
  with_items:
    - rocm-dkms