homelab_flarum/README.md
2024-03-11 07:55:31 -05:00

653 B

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.