This Ansible playbook deploys a production-ready SurrealDB cluster with TiKV backend.
- Ansible 2.9+
- Target servers running Ubuntu 20.04+
- SSH access to target servers
- Edit inventory.yml with your server IPs
- Update group_vars/vault.yml with your passwords
- Run: ansible-playbook -i inventory.yml site.yml --ask-vault-pass
- group_vars/: Group variables
- roles/: Role-specific tasks and configurations
- templates/: Jinja2 templates
- site.yml: Main playbook
- inventory.yml: Inventory file
- common: Basic system setup
- pd: Placement Driver setup
- tikv: TiKV store setup
- surrealdb: SurrealDB setup