You need:
- ansible installed on your local computer.
- ssh public key to be copied to server machines for passwordless access.
- hosts file to be changed according to your server nodes IP addresses.
Run playbooks with command:
ansible-playbook -i hosts ansible-playbook-file.yml
Run ansible playbooks in following order:
- initial.yml
- set_hostname.yml
- kube-dependencies.yml
- master.yml
- workers.yml