projects
/
ansible.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
53168bc
)
remove do-update script
author
Ralf Jung
<post@ralfj.de>
Sat, 10 Jul 2021 09:13:41 +0000
(11:13 +0200)
committer
Ralf Jung
<post@ralfj.de>
Sat, 10 Jul 2021 09:13:41 +0000
(11:13 +0200)
do-update
[deleted file]
patch
|
blob
|
history
diff --git
a/do-update
b/do-update
deleted file mode 100755
(executable)
index
e9edd48
..0000000
--- a/
do-update
+++ /dev/null
@@
-1,11
+0,0 @@
-#!/bin/bash
-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 $HOST? (y/N) " ANSWER
- if [[ "$ANSWER" == y* ]]; then
- ansible "$HOST" -a "shutdown -r +1"
- fi
- echo
-done