Modified to prune k3s images
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user