From: Oleg Broytman Date: Tue, 3 May 2022 11:44:14 +0000 (+0300) Subject: Fix(ansible/cleanup-tmp.sh): `.ansible` is at `$HOME` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=b70028b2a070f694eae479445910a41876509cc1;p=ansible.git Fix(ansible/cleanup-tmp.sh): `.ansible` is at `$HOME` --- diff --git a/playbooks/ansible/cleanup-tmp.sh b/playbooks/ansible/cleanup-tmp.sh index ef55bdd..af8ba20 100755 --- a/playbooks/ansible/cleanup-tmp.sh +++ b/playbooks/ansible/cleanup-tmp.sh @@ -1,7 +1,7 @@ #! /bin/sh echo localhost -rm -rf .ansible/tmp/\* +rm -rf "$HOME"/.ansible/tmp/\* for host in `run-hosts -L`; do echo $host