From: Ralf Jung Date: Sat, 10 Jul 2021 09:13:41 +0000 (+0200) Subject: remove do-update script X-Git-Url: https://git.ralfj.de/ansible.git/commitdiff_plain/91f4ab8c6bc2b647a26eed10e42ea3a2a9377b95?ds=inline remove do-update script --- diff --git a/do-update b/do-update deleted file mode 100755 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