remove downloaded file after merge

Signed-off-by: Roman Ivanov <me@roivanov.com>
This commit is contained in:
Roman Ivanov 2023-11-30 00:44:59 -08:00
parent 7c0ade9061
commit 57d4563f65
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@
TFILE=$(mktemp)
kubectl config view --flatten > ${TFILE}
mv ${TFILE} ~/.kube/config
rm ~/.kube/config.new
delegate_to: 127.0.0.1
when: result.stat.exists
become: false