X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/f76b2b698d708dbef33a5135762b51a9c9d1d031..5b0ee7c4c8d8df834da1e4a4d2f1d6b34c002dda:/playall?ds=inline diff --git a/playall b/playall index 8c74d96..98310c0 100755 --- a/playall +++ b/playall @@ -3,6 +3,6 @@ set -e for HOST in $(fgrep 'all:' hosts | sed 's/.*all: *//g'); do echo "Playing on $HOST" - ansible-playbook -l "$HOST" "$@" + "$(dirname "$0")"/play "$HOST" "$@" echo done