Update install-redhat.yml

modify "add epel repo" to work with RHEL/CentOS 7 & 8
This commit is contained in:
nvhans 2020-11-25 19:43:38 -05:00 committed by GitHub
parent 5f58443c4b
commit 961feadb30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,11 +30,9 @@
reboot:
- name: add epel repo
yum_repository:
name: epel
description: EPEL YUM repo
baseurl: "{{ nvidia_driver_rhel_epel_repo_baseurl }}"
gpgkey: "{{ nvidia_driver_rhel_epel_repo_gpgkey }}"
yum:
- name: "epel-release"
state: latest
environment: "{{proxy_env if proxy_env is defined else {}}}"
- name: install dependencies