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