Skip to content

Commit

Permalink
Merge pull request #65 from guenhter/support-ubuntu-22.04
Browse files Browse the repository at this point in the history
Add Ubuntu 22.04 to the molecule tests
  • Loading branch information
ajdecon authored Aug 11, 2022
2 parents 8fa78e4 + d0023b6 commit 35a769d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"


##############################################################################
Expand Down
22 changes: 22 additions & 0 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 35a769d

Please sign in to comment.