lab-ansible/reboot.sh
2023-12-28 19:12:20 +01:00

6 lines
74 B
Bash
Executable file

#!/usr/bin/env bash
HOSTS="$1"
ansible -b -u ansible -m reboot "$HOSTS"