lab-ansible/tools/reboot.sh

6 lines
74 B
Bash
Executable file

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