From 95940d802123fbb7ee8a09063e0261c9507371a3 Mon Sep 17 00:00:00 2001 From: David Valin Date: Wed, 26 Apr 2023 09:29:12 -0400 Subject: [PATCH] Next attempt --- reboot_measurement/reboot_measure.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/reboot_measurement/reboot_measure.yml b/reboot_measurement/reboot_measure.yml index a1f9a49..a7993dc 100755 --- a/reboot_measurement/reboot_measure.yml +++ b/reboot_measurement/reboot_measure.yml @@ -107,9 +107,15 @@ - name: Simply reboot the system reboot: - reboot_timeout: 1800 - test_command: /usr/bin/whoami - connect_timeout: 5 + reboot_timeout: 6 + + - name: wait for ssh to come up + local_action: wait_for + host="{{ dyn_data.test_hostname }}" + port=22 + state=started + delay=1 + timeout=1200 - name: grab reboot end time command: "date -u +%s"