--- - name: Reload amdgpu module ansible.builtin.shell: | modprobe -r amdgpu || true modprobe amdgpu changed_when: true