summaryrefslogtreecommitdiffstats
path: root/roles/rocm
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-06 04:37:01 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-06 04:37:01 +0200
commitb17d3d74eb5a9e7640d94f98f6b27ce4891b3c26 (patch)
tree35b03ed3f6349de7db2482761ff6295aee5ae813 /roles/rocm
parent1c830e285e19f2d571cf50ef912f01f0f7d68e10 (diff)
downloaditm-b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26.tar.gz
itm-b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26.tar.bz2
itm-b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26.tar.xz
itm-b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26.zip
Integration of CentOS8 and ipecompute nodes
Diffstat (limited to 'roles/rocm')
-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