Merge pull request #45 from dholt/master

Add EPEL repo GPG key
This commit is contained in:
Doug Holt 2021-09-29 08:56:27 -06:00 committed by GitHub
commit 22e2640f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,7 @@ nvidia_driver_module_params: ''
# RedHat family #
##############################################################################
epel_package: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
epel_repo_key: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-{{ ansible_distribution_major_version }}"
nvidia_driver_rhel_cuda_repo_baseurl: "https://developer.download.nvidia.com/compute/cuda/repos/{{ _rhel_repo_dir }}/"
nvidia_driver_rhel_cuda_repo_gpgkey: "https://developer.download.nvidia.com/compute/cuda/repos/{{ _rhel_repo_dir }}/7fa2af80.pub"

View File

@ -28,6 +28,11 @@
- name: reboot to pick up the new kernel
reboot:
- name: add epel repo gpg key
rpm_key:
key: "{{ epel_repo_key }}"
state: present
- name: add epel repo
become: true
yum: