Install ansible (must have):
pip3 install ansible
Install cluster kubernetes from binary files, NOT KUBEADM
python3-devel
python3-pip
ansible min_stable(2.9.13)
netaddr min_stable(0.8.0)
project_name == Name of project interface == virtual interface ($ ip a) # See what kind of interface you need
nothing
ansible-playbook -i hosts site.yml -e project_name=test -e interface=eth0 # Install kubernetes
ansible-playbook -i hosts destroy.yml -e project_name=test -e interface=eth0 # Destroy kubernetes (clean dependency) !!! ALARM: CLEAN FULL ETCD DATA
ansible-playbook -i hosts add_node.yml -e project_name=test -e interface=eth0