ansible-role-nvidia-driver icon indicating copy to clipboard operation
ansible-role-nvidia-driver copied to clipboard

fix: Update role with ansible-lint recommendation

Open Heniland opened this issue 1 year ago • 0 comments

This change includes a few minor changes.

  • Use ansible FQCN names over short names
  • Added become: true on specific modules that required privilege. (Make it clear which module needs privilege escalation.)
  • Add Nouveau driver module to blacklist on Ubuntu when installed without Cuda repo
  • for modprobe i used community.general.modprobe as it is recommended by Ansible Lint (You should use canonical module name community.general.modprobe instead of ansible.builtin.modprobe. )

Heniland avatar Sep 12 '23 13:09 Heniland