]> git.phdru.name Git - ansible.git/blobdiff - playbooks/ansible/cleanup-tmp.sh
Use `run-hosts -e`
[ansible.git] / playbooks / ansible / cleanup-tmp.sh
index 3b5ac460630345449d6a17c9f487ac94384f067f..a946fb8840d0e4f48543a85c9c345c6cc280fde9 100755 (executable)
@@ -3,7 +3,7 @@
 echo localhost
 rm -rf .ansible/tmp/\*
 
-for host in iskra-aviel.phdru.name oper.med.ru phdru.name; do
+for host in `run-hosts -e`; do
    echo $host
    ssh -4 $host exec rm -rf .ansible/tmp/\*
 done