playbook to prune k3s images

This commit is contained in:
2025-01-01 12:54:41 +00:00
parent 16c88355e8
commit ed0bf8a573

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

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