]> git.phdru.name Git - ansible.git/commitdiff
Fix(ansible/cleanup-tmp.sh): `.ansible` is at `$HOME`
authorOleg Broytman <phd@phdru.name>
Tue, 3 May 2022 11:44:14 +0000 (14:44 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 3 May 2022 11:44:14 +0000 (14:44 +0300)
playbooks/ansible/cleanup-tmp.sh

index ef55bdd28e7217450c9a488526cc8397853f8692..af8ba206348225a7cb1a6c53f06075fcddeabe17 100755 (executable)
@@ -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