Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.29 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.29 KB

Aegea Rollout

This repository describes a one-command Aegea blog engine rollout using Terraform and Ansible. The state is seemlessly passed from Terraform to Ansible using the terraform-inventory plugin.

created first

Roadmap

The only missing features are automated DNS and let's encrypt certificate management.

Requirements

Hetzner Cloud API token and SSH key ID are required. The following software versions are required:

terraform>=1.9.8.
ansible>=[core 2.17.3]
tar
unzip

Usage

Variables

Use terraform.tfvars.example as reference. The meaning of the variables is as follows:

hcloud_token  = "[redacted]P6bEQ0U0X5afptrpU5DrFL9o2pjYJCRJDyFZgfxg33TWuKaw"  #  Hetzner Cloud API token.
image         = "rocky-9"
server_type   = "cpx11"
location      = "nbg1"
ssh_key_id    = "user@MacBook-Pro.local"  # SSH key ID in Hetzner.
playbook_path = "../ansible/apache.yml"

Example

The following will execute terraform to spawn a VM and then ansible to install the Aegea blog engine.

make

To cleanup.

make terraform-destroy