Runs Flarum on the homelab
https://flarum.bubblesthebunny.com/
group_vars/all | ||
roles/flarum | ||
terraform | ||
.gitignore | ||
hosts.yml | ||
README.md | ||
run.sh | ||
site.yml |
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>
Ansible-Vault
Required variables:
- flarum_db_pass: The password for the Flarum MySQL user.
- server1_become_pass: The sudo password for ansible_user.