NVIDIA / ansible-role-nvidia-driver

BSD 3-Clause "New" or "Revised" License
115 stars 66 forks source link

BASE url to ARM64 SBSA is `sbsa` instead of `aarch64` #40

Open xfxavierw opened 3 years ago

xfxavierw commented 3 years ago

Please check the base url of the arm64 server https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/ There should be a patch like:

diff --git a/vars/main.yml b/vars/main.yml
index c994f5b..c01187d 100644
--- a/vars/main.yml
+++ b/vars/main.yml
@@ -1,2 +1,2 @@
-_ubuntu_repo_dir: "{{ ansible_distribution | lower }}{{ ansible_distribution_version | replace('.', '') }}/{{ ansible_architecture }}"
+_ubuntu_repo_dir: "{{ ansible_distribution | lower }}{{ ansible_distribution_version | replace('.', '') }}/{{ ansible_architecture | replace('aarch64', 'sbsa') }}"
 _rhel_repo_dir: "rhel{{ ansible_distribution_major_version }}/{{ ansible_architecture }}"