prole/infrastructure/playbooks/k3s_reset.yml

14 lines
331 B
YAML

---
- name: Reset k3s nodes and reinstall with vault token
hosts: k3s_hosts
become: true
tasks:
- name: Remove existing k3s installation and data
ansible.builtin.import_role:
name: k3s
tasks_from: cleanup
- name: Reinstall and configure k3s
ansible.builtin.import_role:
name: k3s