X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fansible%2Fcleanup-tmp.sh;h=5c404b3dd4cfb9522fbfde28412c89157f63d21e;hb=c5ee40dbd1ece159004ec5d7e11a0512e57f7823;hp=16158c3a847a2bd455ee8fd52aa06fce017d05b1;hpb=f9f6138df1f2b7fbc7380372406f1cd597c1b85e;p=ansible.git diff --git a/playbooks/ansible/cleanup-tmp.sh b/playbooks/ansible/cleanup-tmp.sh index 16158c3..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 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