X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/f76b2b698d708dbef33a5135762b51a9c9d1d031..02ac218b8d01b532c9ea483ef38d688ff923c58c:/playall

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