playbook to prune k3s images
This commit is contained in:
9
playbooks/prune-k3s.yml
Normal file
9
playbooks/prune-k3s.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
- hosts: kube
|
||||
become: true
|
||||
vars_files:
|
||||
- ../secret
|
||||
tasks:
|
||||
- name: Prune images
|
||||
command: sudo k3s crictl rmi --prune
|
||||
|
||||
Reference in New Issue
Block a user