This project is designed launch the Confluent platform on VMWare using Terraform and Ansible. Terraform is used to clone the virtual machines, and configure VM anti affinity rules. so that nodes in the same role do not reside on the same host.
- VMWare vCenter Server
- Terraform
- Ansible
- (RedHat|CentOS) 7 image.
- Key based authentication
- Super user capabilities. See ansible_become
You need to fill out this information.
edit terraform.tfvars
vcenter_server =
vcenter_username =
vcenter_password =
vcenter_datacenter =
vcenter_cluster =
vcenter_datastore =
template_name =
environment_name =
vcenter_default_network =
domain_name =
ssh_username =
ssh_key_file =
virtualenv --python=python3.5 .
source bin/activate
pip install -r requirements.txt
cd library
git clone https://github.com/confluentinc/cp-ansible.git cp-ansible
cd ..
Provision Virtual Machines
terraform apply
Install the Confluent Platform
ansible-playbook -i ./inventory.py all.yml