Skip to content

Commit

Permalink
Merge pull request #57 from ajdecon/molecule-fixes
Browse files Browse the repository at this point in the history
Fix failing molecule tests
  • Loading branch information
ajdecon authored Apr 18, 2022
2 parents 66337f8 + 151facf commit 320a28b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
14 changes: 7 additions & 7 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ platforms:
pre_build_image: true
privileged: true

- name: centos-8
image: geerlingguy/docker-centos8-ansible
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
command: /sbin/init
pre_build_image: true
privileged: true
# - name: centos-8
# image: geerlingguy/docker-centos8-ansible
# volumes:
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
# command: /sbin/init
# pre_build_image: true
# privileged: true

provisioner:
name: ansible
Expand Down
5 changes: 5 additions & 0 deletions tasks/install-ubuntu-cuda-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
environment: "{{proxy_env if proxy_env is defined else {}}}"
when: nvidia_driver_add_repos | bool

- name: esure kmod is installed
apt:
name: "kmod"
state: "present"

- name: blacklist nouveau
kernel_blacklist:
name: nouveau
Expand Down

0 comments on commit 320a28b

Please sign in to comment.