Deploy Terraform + Ansible Playbook with UpCloud infrastructure
01 May 2021 #script
Example deployment with Terraform + Ansible : “Loadbalancer and 2 X Webservers connected throught SDN using Debian template”
/ deployment.tf
How to generate Ansible inventory: “for automation”
Ansible hosts.tmpl file “for automation”
Terraform variables.tf file:
Terraform commands: ./instal.sh
##Ansible Playbook
. webserver001.yml
Ansible hosts file:
Ansible Commands:
./instal.sh