From f05ba80616edf5783cc7fcfaf6a8e6f7fd9b8004 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 29 Jan 2026 18:40:47 +0100 Subject: Ignore tasks from testing as they can't work on containers --- roles/nvidia_gtx1060/tasks/install-archlinux.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/nvidia_gtx1060/tasks/install-archlinux.yml b/roles/nvidia_gtx1060/tasks/install-archlinux.yml index 6d18eea4..0a8565ea 100644 --- a/roles/nvidia_gtx1060/tasks/install-archlinux.yml +++ b/roles/nvidia_gtx1060/tasks/install-archlinux.yml @@ -20,6 +20,10 @@ dest: "/etc/modprobe.d/nvidia.conf" mode: "0644" notify: "Rebuild initramfs" + tags: + # Since the /etc/mkinitcpio isn't available on the docker container + # Ignore this for testing, + - "molecule-notest" - name: "Get current mkinitcpio MODULES" become: true @@ -29,6 +33,10 @@ # noqa var-naming[no-role-prefix] as it describes the current kernel modules and not the nvidia modules register: "current_kernel_modules" changed_when: false + tags: + # Since the /etc/mkinitcpio isn't available on the docker container + # Ignore this for testing, + - "molecule-notest" - name: "Add NVIDIA modules to mkinitcpio" become: true @@ -40,3 +48,7 @@ regexp: "^MODULES=\\(.*\\)" line: "MODULES=({{ all_modules | join(' ') }})" notify: "Rebuild initramfs" + tags: + # Since the /etc/mkinitcpio isn't available on the docker container + # Ignore this for testing, + - "molecule-notest" -- cgit v1.2.3