X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fansible%2Fcleanup-tmp.sh;h=5c404b3dd4cfb9522fbfde28412c89157f63d21e;hb=9a2783b2e5724bf4f3da6919ea64bf3c18b37a74;hp=3b5ac460630345449d6a17c9f487ac94384f067f;hpb=1bba46ca5950129a076d5176487d1305687503bf;p=ansible.git diff --git a/playbooks/ansible/cleanup-tmp.sh b/playbooks/ansible/cleanup-tmp.sh index 3b5ac46..5c404b3 100755 --- a/playbooks/ansible/cleanup-tmp.sh +++ b/playbooks/ansible/cleanup-tmp.sh @@ -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/\* + ssh $host exec rm -rf .ansible/tmp/\* done