Merge pull request #57 from ajdecon/molecule-fixes

Fix failing molecule tests
This commit is contained in:
Adam DeConinck 2022-04-18 14:42:42 -06:00 committed by GitHub
commit 320a28b0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 7 deletions

View File

@ -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

View File

@ -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