diff --git a/playbooks/prune-docker-images.yml b/playbooks/prune-docker-images.yml index 7dc9ba8..3e3f9b5 100644 --- a/playbooks/prune-docker-images.yml +++ b/playbooks/prune-docker-images.yml @@ -1,6 +1,8 @@ --- - hosts: kube become: true + vars_files: + - ../secret tasks: - name: Prune images command: sudo k3s crictl rmi --prune