projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync recipient_delimeter between dovecot and postfix
[ansible.git]
/
do-update
diff --git
a/do-update
b/do-update
index f99450ccf328a1fad3e6053bc91328d2533f4c48..e9edd4888f73e59b72b9fb3c1fb69c02f2fab660 100755
(executable)
--- 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"
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
if [[ "$ANSWER" == y* ]]; then
ansible "$HOST" -a "shutdown -r +1"
fi