From: Oleg Broytman Date: Tue, 3 May 2022 11:42:08 +0000 (+0300) Subject: Fix(ansible/cleanup-tmp.sh): Parameter was changed in `run-hosts` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=1caab87bd54dbad5f3f8e1b80010a8907d6138ac;p=ansible.git Fix(ansible/cleanup-tmp.sh): Parameter was changed in `run-hosts` It's no longer "echo", it's "list hosts". --- diff --git a/playbooks/ansible/cleanup-tmp.sh b/playbooks/ansible/cleanup-tmp.sh index 5c404b3..ef55bdd 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 `run-hosts -e`; do +for host in `run-hosts -L`; do echo $host ssh $host exec rm -rf .ansible/tmp/\* done