Terraform na DigitalOcean provisionando um droplet com docker-compose usando um servidor nginx com suporte a PHP-FPM e Node.js.
ssh-keygen -t rsa -C "maurouberti@hotmail.com" -f ./tokens/tf-digitalocean-exemplo
chmod 600 ./tokens/tf-digitalocean-exemplo
terraform init
terraform apply -auto-approve
ansible-playbook ./ansible/playbook.yml -i ./ansible/hosts --private-key=./tokens/tf-digitalocean-exemplo
ssh root@sane-maquiagem.com.br -i ./tokens/tf-digitalocean-exemplo
terraform destroy -auto-approve
rm -f ./tokens/tf-digitalocean-exemplo ./tokens/tf-digitalocean-exemplo.pub
rm -rf .terraform && rm terraform.tfstate && rm terraform.tfstate.backup && rm .terraform.lock.hcl