change to prune docker images

This commit is contained in:
2024-05-26 18:45:33 +05:30
parent b738cd2bbf
commit 7f5eab3883

View File

@@ -1,8 +1,10 @@
---
- hosts: kube
- hosts: docker
become: true
vars_files:
- ../secret
tasks:
- name: Prune images
command: sudo k3s crictl rmi --prune
docker_prune:
images: yes