X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/68b85d5c34dfe3eb4694775dd91754e9e6af5cd4..82c3952d5c4600c4c0ec7f8ab55f0dc96d750f4f:/playall

diff --git a/playall b/playall
index 8203a0f..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 site.yml -l "$HOST" "$@"
+  "$(dirname "$0")"/play "$HOST" "$@"
   echo
 done