Removed: Since v1.31 (the Kubespray counterpart is v2.27), Kubernetes no longer supports
cloud_provider
. (except external cloud provider)
You can deploy instances in your cloud environment in several ways. Examples include Terraform, Ansible (ec2 and gce modules), and manual creation.
With ansible-playbook command
ansible-playbook -u smana -e ansible_ssh_user=admin -e cloud_provider=[aws|gce] -b --become-user=root -i inventory/single.cfg cluster.yml