playbook to prune k3s images

This commit is contained in:
2024-08-16 23:40:33 +05:30
parent 541efd33fe
commit 8e7960aac9

9
playbooks/k3s-prune.yml Normal file
View File

@@ -0,0 +1,9 @@
---
- hosts: kube
become: true
vars_files:
- ../secret
tasks:
- name: Prune k3s images
command: sudo k3s crictl rmi --prune