Run galene in the cloud using OpenTofu and Ansible
Find a file
Julien Riou fc59b4f9a5
feat: Initial code
Signed-off-by: Julien Riou <julien@riou.xyz>
2025-04-12 06:50:12 +02:00
ansible feat: Initial code 2025-04-12 06:50:12 +02:00
tofu feat: Initial code 2025-04-12 06:50:12 +02:00
.gitignore feat: Initial code 2025-04-12 06:50:12 +02:00
LICENSE Initial commit 2025-03-18 18:13:38 +01:00
README.md feat: Initial code 2025-04-12 06:50:12 +02:00

galene-cloud

Run galene in the cloud using OpenTofu and Ansible.

Requirements

  • Ansible (ansible)
  • OpenTofu (tofu)
  • Public Cloud project on OVHcloud
  • Domain zone on OVHcloud

OpenTofu

Configuration

OpenStack provider

tofu/clouds.yaml

The clouds.yaml file will automatically configure the openstack provider to use your Public Cloud project.

Go to the OVHcloud Manager, then "Public Cloud" section, then "Horizon", then "API access". In the drop down on the right, select "OpenStack clouds.yaml File".

OVH provider

tofu/ovh.conf

Follow the First Steps with the OVHcloud APIs guide, section "Advanced usage: pair OVHcloud APIs with an application", to generate the ovh.conf file.

Variables

  • domain: Name of the domain zone
  • hostname: Name of the server (default: "galene")
  • openstack_image: Name of the OpenStack image (default: "Debian 12")
  • openstack_flavor: Name of the OpenStack flavor (default: "d2-2")

Variables can be provided using files ending with .tfvars extension. See the documentation for more information.

Usage

Change directory to "tofu":

cd tofu

Start

tofu plan
tofu apply

Then follow the instructions for Ansible.

Stop

tofu destroy

Ansible

Configuration

Usage