Skip to content

Commit bb51fa0

Browse files
retlehsclaude
andcommitted
Add Ansible setup and commands to operations docs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d8f0b96 commit bb51fa0

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

docs/operations.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,28 @@ Both layers must pass. A valid Tailscale connection without app auth (or vice ve
174174

175175
## Server Provisioning
176176

177-
Ansible playbooks handle server setup and application deployment.
177+
Ansible playbooks handle server setup and application deployment. Playbooks are in `deploy/ansible/`.
178178

179-
Provisioning:
180-
- Go binary deployment
181-
- SQLite database initialization
182-
- Caddy with reverse proxy and TLS/ACME
183-
- systemd service for `wpcomposer serve`
184-
- systemd timers for periodic commands
179+
### Setup
180+
181+
```bash
182+
cd deploy/ansible
183+
source .venv/bin/activate
184+
```
185+
186+
### Provision (full server setup)
187+
188+
```bash
189+
ansible-playbook provision.yml
190+
```
191+
192+
Provisions: Go binary, SQLite, Caddy (reverse proxy + TLS), systemd service, systemd timers.
193+
194+
### Deploy (code only)
195+
196+
```bash
197+
ansible-playbook deploy.yml
198+
```
185199

186200
## SQLite Operations
187201

0 commit comments

Comments
 (0)