From b17d3d74eb5a9e7640d94f98f6b27ce4891b3c26 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 6 Oct 2019 04:37:01 +0200 Subject: Integration of CentOS8 and ipecompute nodes --- roles/rocm/tasks/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 roles/rocm/tasks/main.yml (limited to 'roles/rocm/tasks/main.yml') 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 -- cgit v1.2.3