From 673a9b6062587abe6175299f91d7c2b7dd02509b Mon Sep 17 00:00:00 2001 From: Sandwich Date: Thu, 12 Feb 2026 02:06:58 +0100 Subject: [PATCH] fix(playbook): reset SSH connection before post-reboot tasks --- main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.yml b/main.yml index 8a1a6fa..aed4adb 100644 --- a/main.yml +++ b/main.yml @@ -111,6 +111,11 @@ }} changed_when: false + - name: Reset SSH connection before post-reboot tasks + when: + - post_reboot_can_connect | bool + ansible.builtin.meta: reset_connection + - name: Set final SSH credentials for post-reboot tasks when: - post_reboot_can_connect | bool