1. Ansible Controller
2. k8s Master t2.medium 4GB RAM, 2CORE
3. the node
mkdir kubernetes
put all the playbooks for master as well as node over here.
test all the host using ssh ubuntu@<ip_addr_machine>
put your master and node ip address: hostname ansible_ssh_host=<ip_addr>
ansible -m ping all
ansible-playbook site.yaml