diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 2256612..6fd4919 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -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 diff --git a/tasks/install-ubuntu-cuda-repo.yml b/tasks/install-ubuntu-cuda-repo.yml index a77228c..cf9a5d9 100644 --- a/tasks/install-ubuntu-cuda-repo.yml +++ b/tasks/install-ubuntu-cuda-repo.yml @@ -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