NVIDIA / ansible-role-nvidia-driver

BSD 3-Clause "New" or "Revised" License
112 stars 64 forks source link

Support for AlmaLinux #69

Open pbronneberg opened 1 year ago

pbronneberg commented 1 year ago

I tried installing the nvidia driver on an AlmaLinux 9 system, but unfortunately the driver misses support for this

Expected behavior

NVidia driver role supports installation on Redhat family system AlmaLinux

Actual behavior

NVidia driver role does not support AlmaLinux

Cause of this behavior is in main.yml

- name: redhat family install tasks
  include_tasks: install-redhat.yml
  when: ansible_os_family == 'RedHat'

Output of ansible [node] -m setup

"ansible_os_family": "AlmaLinux"`,
 "ansible_distribution_major_version": "9",

Please add support for AlmaLinux Note: I'm happy to create a pull-request to add this support

pbronneberg commented 1 year ago

Created PR. Added details on how I verified the installation in the PR comments.