#! /bin/sh
+LC_CTYPE=en_US.UTF-8 hosts="`\"$HOME\"/.virtualenvs/ansible/bin/ansible --list-hosts servers | tail -n +2`"
+
echo localhost
-rm -rf .ansible/tmp/\*
+rm -rf "$HOME"/.ansible/tmp/*
-for host in `run-hosts -e`; do
+for host in $hosts; do
echo $host
- ssh $host exec rm -rf .ansible/tmp/\*
+ ssh $host exec rm -rf .ansible/tmp/*
done