Strato is even more broken now
[ansible.git] / playall
diff --git a/playall b/playall
index 8203a0f1120b1a12485d290e10537f29e21c1115..98310c0fbe5cd2dca627af731f50689783027c67 100755 (executable)
--- 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"
 
 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
   echo
 done