summaryrefslogtreecommitdiffstats
path: root/roles/rocm/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/rocm/tasks/main.yml')
-rw-r--r--roles/rocm/tasks/main.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/rocm/tasks/main.yml b/roles/rocm/tasks/main.yml
new file mode 100644
index 0000000..4ae1a87
--- /dev/null
+++ b/roles/rocm/tasks/main.yml
@@ -0,0 +1,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