less redundant redundancy
[ansible.git] / playall
diff --git a/playall b/playall
index 8c74d962a9f041324f01b25388d9c8063ef52153..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"
-  ansible-playbook -l "$HOST" "$@"
+  "$(dirname "$0")"/play "$HOST" "$@"
   echo
 done