Runs Flarum on the homelab https://flarum.bubblesthebunny.com/
Go to file
2024-03-11 07:55:31 -05:00
group_vars/all It works, mariadb setup untested 2024-03-06 11:39:48 -06:00
roles/flarum Made project more public-facing friendly 2024-03-11 07:55:31 -05:00
terraform Made project more public-facing friendly 2024-03-11 07:55:31 -05:00
.gitignore It works, mariadb setup untested 2024-03-06 11:39:48 -06:00
hosts.yml Made project more public-facing friendly 2024-03-11 07:55:31 -05:00
README.md Made project more public-facing friendly 2024-03-11 07:55:31 -05:00
run.sh Initial Main commit 2024-03-05 08:32:15 -06:00
site.yml Initial Main commit 2024-03-05 08:32:15 -06:00

Cloudflare

Note: this project assumes the use of Cloudflare Tunnels with a tunnel already running.

Terraform

Terraform setup MUST be run first to generate TLS certificates

Ansible

Set your ansible_user appropriately in hosts.yml

Set your host hosts.yml to your server name in ssh_config.

Example ssh config:

Host server1
    HostName <host-ip-address>
    IdentityFile <path-to-ssh-certs>

Run Ansible

Ansible-Vault

Required variables:

  • flarum_db_pass: The password for the Flarum MySQL user.
  • server1_become_pass: The sudo password for ansible_user.