From d0cf4a1e9105051c3b7ba12e146f0b01baa936c6 Mon Sep 17 00:00:00 2001 From: guenthgr Date: Thu, 28 Jul 2022 07:14:06 +0200 Subject: [PATCH 1/2] Update the driver branch to 515 Signed-off-by: guenthgr --- README.md | 2 +- defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 406280f..943035e 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ $ ansible-galaxy install nvidia.nvidia_driver | `nvidia_driver_skip_reboot` | `no` | Whether to skip rebooting the node during the install | | `nvidia_driver_module_file` | `"/etc/modprobe.d/nvidia.conf"` | Filename to use for NVIDIA driver parameters | | `nvidia_driver_module_params` | `""` | Parameters to pass to the NVIDIA driver | -| `nvidia_driver_branch` | `"510"` | Default driver branch to install | +| `nvidia_driver_branch` | `"515"` | Default driver branch to install | ### Red Hat specific variables diff --git a/defaults/main.yml b/defaults/main.yml index e70164a..83fc13a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -5,7 +5,7 @@ nvidia_driver_skip_reboot: no nvidia_driver_module_file: /etc/modprobe.d/nvidia.conf nvidia_driver_module_params: '' nvidia_driver_add_repos: yes -nvidia_driver_branch: "510" +nvidia_driver_branch: "515" ############################################################################## From d0023b68e005bca42c69bb24019a8e3714560aa1 Mon Sep 17 00:00:00 2001 From: guenthgr Date: Thu, 28 Jul 2022 07:14:48 +0200 Subject: [PATCH 2/2] Add Ubuntu 22.04 to the molecule tests Signed-off-by: guenthgr --- molecule/default/molecule.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 6fd4919..a9f3c71 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -49,6 +49,28 @@ platforms: - cuda_repo - ubuntu + - name: ubuntu-2204-canonical + image: geerlingguy/docker-ubuntu2204-ansible + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro + command: /sbin/init + pre_build_image: true + privileged: true + groups: + - canonical_repo + - ubuntu + + - name: ubuntu-2204-cuda + image: geerlingguy/docker-ubuntu2204-ansible + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro + command: /sbin/init + pre_build_image: true + privileged: true + groups: + - cuda_repo + - ubuntu + - name: centos-7 image: geerlingguy/docker-centos7-ansible volumes: