From: Oleg Broytman Date: Mon, 24 Feb 2020 23:16:42 +0000 (+0300) Subject: Feat(ansible): Add shell script to cleanup `.ansible/tmp` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f9f6138df1f2b7fbc7380372406f1cd597c1b85e;p=ansible.git Feat(ansible): Add shell script to cleanup `.ansible/tmp` --- diff --git a/playbooks/ansible/cleanup-tmp.sh b/playbooks/ansible/cleanup-tmp.sh new file mode 100755 index 0000000..16158c3 --- /dev/null +++ b/playbooks/ansible/cleanup-tmp.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +echo localhost +rm -rf .ansible/tmp/\* + +for host in iskra-aviel.phdru.name phdru.name oper.med.ru; do + echo $host + ssh -4 $host exec rm -rf .ansible/tmp/\* +done