This code deploys :
- 2 Mariadb Master / Slave servers,
- 2 Redis Master / Slave servers,
- 2 vms in GlusterFS Cluster,
- Haproxy load-balancer,
- 2 Nextcloud servers with Nginx or Apache with php-fpm.
Works with Fedora Server cloud image.
You must have installed Terraform, Libvirt provider and Ansible.
You must copy the repo and separate the Terraform part from the Ansible part. Adapt the variables :
- variables.tf (terraform)
- vars (ansible)