Modified to prune k3s images
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: docker_hosts
|
- hosts: kube
|
||||||
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- name: Prune docker images
|
- name: Prune images
|
||||||
community.docker.docker_prune:
|
command: sudo k3s crictl rmi --prune
|
||||||
images: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user