ansible-role-nvidia-driver
ansible-role-nvidia-driver copied to clipboard
fix: Update role with ansible-lint recommendation
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 usedcommunity.general.modprobe
as it is recommended by Ansible Lint (You should use canonical module namecommunity.general.modprobe
instead ofansible.builtin.modprobe
. )