-
Install ansible requirements
ansible-galaxy install -r requierment.yml
-
Run Terraform command by Make file
make terraform cmd=init make terraform cmd=plan make terraform cmd=apply
-
Update the
inventory.ini
file inansible
directory by output of terraform command. -
Run
install-docker
command by Make filemake install-docker
-
Run
create-certificate
command by Make file to Createcertificates
make create-certificate
-
Run
scp-cers-confs-to-nodes
command by Make file to copy config files and certs to destination hostsmake scp-cers-confs-to-nodes
-
Run
run-nodes
command by Make file to create the container and prepare the nodemake run-nodes
1. preparing monitoring for nodes.
2. writing exporter for node to check health of the node and compare its’ status by other nodes in the cluster and outside nodes.
3. creating dynamic inventory for ansible.