From 835eaf460211c9d11ddef56f70ebd08ab4d3b6cb Mon Sep 17 00:00:00 2001 From: Adam DeConinck Date: Tue, 29 Mar 2022 18:35:00 +0000 Subject: [PATCH 1/2] disable centos-8 tests due to EOL --- molecule/default/molecule.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 From 151facf7e290ad652aaa585b5923424a4084be7e Mon Sep 17 00:00:00 2001 From: Adam DeConinck Date: Tue, 29 Mar 2022 19:48:34 +0000 Subject: [PATCH 2/2] Ensure kmod is installed before launching CUDA install method --- tasks/install-ubuntu-cuda-repo.yml | 5 +++++ 1 file changed, 5 insertions(+) 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