From: Ralf Jung Date: Mon, 20 Aug 2018 16:42:50 +0000 (+0200) Subject: tweak do-update X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/1af46a38f13e52e34e8a154d9bc1e3b16fa5c71f?ds=inline;hp=63bed5883946df675dec4c1981e8f0bce2d6f4cc tweak do-update --- 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