Last active
July 26, 2023 19:03
-
-
Save tkuennen/ad867e81a03efa7b7c38a02c4ac93801 to your computer and use it in GitHub Desktop.
Installs Intel OneAPI (Written for RHEL/CentOS/ALMA/Rocky)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: localhost | |
become: true | |
become_user: root | |
gather_facts: False | |
tasks: | |
- name: 1. Adding Intel® oneAPI repository | |
yum_repository: | |
name: OneAPI | |
description: Intel® oneAPI repository | |
baseurl: https://yum.repos.intel.com/oneapi | |
gpgcheck: yes | |
gpgkey: https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | |
- name: 2. Insalling Intel OneAPI Basekit | |
yum: name=intel-basekit state=latest | |
- name: 3. Insalling Intel OneAPI HPCkit | |
yum: name=intel-hpckit state=latest | |
- name: 4. Installing Intel OneAPI AIkit | |
yum: name=intel-aikit state=latest | |
- name: 5. Installing Intel OneAPI IoTkit | |
yum: name=intel-iotkit state=latest | |
- name: 6. Adding modules to the system | |
ansible.builtin.shell: echo "/opt/intel/oneapi/modulefiles" >> /usr/share/Modules/init/.modulespath | |
args: | |
executable: /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment