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