/k3s-reset

Ansible role to reset install in k3s cluster

Reset k3s cluster

DEPRECATED: migrate to https://github.com/lucaslehnen/tchecode.k3s

This role reset changes caused by:

Example

In your main.yml:

- hosts: servers
  roles:
      - k3s-reset
  vars:
    ansible_user: ubuntu

~ubuntu/.kube will be removed.

In your requirements.yml:

- name: k3s-reset
  src: https://github.com/lucaslehnen/k3s-reset
  version: v1.0.0

Define target hosts in your inventory file hosts:

[servers]
192.168.99.11
192.168.99.12
192.168.99.13

Install requirements:

ansible-galaxy install -r requirements.yml

Call the playbook:

ansible-playbook -i hosts main.yml

License

MIT

Author

https://github.com/lucaslehnen