From e807a5b9e0bc3f2b96282d41807610656fa7874b Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 12 Feb 2026 23:14:26 +0100 Subject: Add reboot to the playbook as post_task (controlled by flag) --- roles/nvidia_gtx1060/tasks/install-archlinux.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'roles/nvidia_gtx1060/tasks/install-archlinux.yml') diff --git a/roles/nvidia_gtx1060/tasks/install-archlinux.yml b/roles/nvidia_gtx1060/tasks/install-archlinux.yml index 0a8565ea..8d5134bb 100644 --- a/roles/nvidia_gtx1060/tasks/install-archlinux.yml +++ b/roles/nvidia_gtx1060/tasks/install-archlinux.yml @@ -19,7 +19,9 @@ src: "nvidia.conf.j2" dest: "/etc/modprobe.d/nvidia.conf" mode: "0644" - notify: "Rebuild initramfs" + notify: + - "Rebuild initramfs" + - "Require reboot" tags: # Since the /etc/mkinitcpio isn't available on the docker container # Ignore this for testing, @@ -47,7 +49,9 @@ path: "/etc/mkinitcpio.conf" regexp: "^MODULES=\\(.*\\)" line: "MODULES=({{ all_modules | join(' ') }})" - notify: "Rebuild initramfs" + notify: + - "Rebuild initramfs" + - "Require reboot" tags: # Since the /etc/mkinitcpio isn't available on the docker container # Ignore this for testing, -- cgit v1.2.3