Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 944 Bytes

File metadata and controls

24 lines (19 loc) · 944 Bytes

nextcloud-libvirt-terraform-ansible

Presentation

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.

Requirement

Works with Fedora Server cloud image.

You must have installed Terraform, Libvirt provider and Ansible.

Copy / Installation

You must copy the repo and separate the Terraform part from the Ansible part. Adapt the variables :

  • variables.tf (terraform)
  • vars (ansible)

Virtual Infrastructure visualization

Terraform Graph Schema