From d4b10fb0ca0d4f06f15ab59e9b9e940e6ee7de4c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 23 Sep 2021 08:03:59 +0300 Subject: [PATCH] Use `run-hosts -e` --- playbooks/ansible/cleanup-tmp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/ansible/cleanup-tmp.sh b/playbooks/ansible/cleanup-tmp.sh index 3b5ac46..a946fb8 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/\* done -- 2.39.5