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. )
This change includes a few minor changes.
become: true
on specific modules that required privilege. (Make it clear which module needs privilege escalation.)modprobe
i usedcommunity.general.modprobe
as it is recommended by Ansible Lint (You should use canonical module namecommunity.general.modprobe
instead ofansible.builtin.modprobe
. )