Modified to prune k3s images

This commit is contained in:
2024-02-24 19:58:19 +05:30
parent f49786949b
commit 31c163a7c2

View File

@@ -1,6 +1,6 @@
---
- hosts: docker_hosts
- hosts: kube
become: true
tasks:
- name: Prune docker images
community.docker.docker_prune:
images: true
- name: Prune images
command: sudo k3s crictl rmi --prune