From 13604759a14f3f32ffd09a468a3f4a3abbcca2bc Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Thu, 28 Dec 2023 19:11:49 +0100 Subject: [PATCH] Add reboot.sh --- reboot.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 reboot.sh diff --git a/reboot.sh b/reboot.sh new file mode 100755 index 0000000..9cdb988 --- /dev/null +++ b/reboot.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +HOSTS="$1" + +ansible -b -u ansible -m reboot "$HOSTS"