From 54bfe96cdc6ac13f2aea774c4f71ff90ce3896b3 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 29 Jan 2025 09:21:46 -0800 Subject: [PATCH] host_reboot: move to same pattern as vhost_reboot Signed-off-by: Kevin Fenzi --- playbooks/host_reboot.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/playbooks/host_reboot.yml b/playbooks/host_reboot.yml index 06c32ea1b8..c51a81a899 100644 --- a/playbooks/host_reboot.yml +++ b/playbooks/host_reboot.yml @@ -14,13 +14,7 @@ ignore_errors: true - name: Reboot the host - ansible.builtin.command: /sbin/shutdown -r 1 - - - name: Wait for host to come back - up to 15 minutes - local_action: wait_for host={{ target }} port=22 delay=120 timeout=900 search_regex=OpenSSH - -# - name: Sync time -# ansible.builtin.command: ntpdate -u 1.rhel.pool.ntp.org + reboot: reboot_timeout=1800 - name: Tell nagios to unshush nagios: action=unsilence service=host host={{ inventory_hostname_short }}{{ env_suffix }}