mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 16:51:52 +02:00
feat: ansible prune
This commit is contained in:
13
server/ansible/playbooks/k3s/prune.yml
Normal file
13
server/ansible/playbooks/k3s/prune.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- hosts:
|
||||
- server-nodes
|
||||
- worker-nodes
|
||||
become: true
|
||||
gather_facts: true
|
||||
any_errors_fatal: true
|
||||
pre_tasks:
|
||||
- name: Pausing for 5 seconds...
|
||||
pause:
|
||||
seconds: 5
|
||||
tasks:
|
||||
- ansible.builtin.shell: k3s crictl rmi --prune
|
Reference in New Issue
Block a user