X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/5cd5c0e1307b681a6785062c3c0fdcaf776ae55e..d6c2eb5f79917a2df728e6b9f86ceb5022f25d90:/do-update?ds=sidebyside diff --git a/do-update b/do-update index f99450c..e9edd48 100755 --- a/do-update +++ b/do-update @@ -3,7 +3,7 @@ cd "$(dirname "$(readlink -e "$0")")" for HOST in "$@"; do echo "Playing on $HOST" ansible-playbook upgrade.yml -l "$HOST" - read -p "Do you want me to reboot? (y/N) " ANSWER + read -p "Do you want me to reboot $HOST? (y/N) " ANSWER if [[ "$ANSWER" == y* ]]; then ansible "$HOST" -a "shutdown -r +1" fi