talas-group/04_INFRA_DEPLOIEMENT/Ansible/roles/postgres-explain-visualizer/readme.md
senke 66471934af Initial commit: Talas Group project management & documentation
Knowledge base of ~80+ markdown files across 14 domains (00-13),
Logseq graph, hardware design files (KiCAD), infrastructure configs,
and talas-wiki static site.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 20:10:41 +02:00

25 lines
844 B
Markdown

# postgres-explain-visualizer role
This role installs [pev2](https://github.com/dalibo/pev2) (PostgreSQL Explain Visualizer) alongside a
[flask app](https://github.com/dalibo/explain.dalibo.com) to store and share `EXPLAIN ANALYSE` results.
Gunicorn is also installed to serve the flask app and make it production ready.
<!-- TOC -->
* [postgres-explain-visualizer role](#postgres-explain-visualizer-role)
* [Variable reference](#variable-reference)
* [Mandatory variables](#mandatory-variables)
* [Upgrade](#upgrade)
<!-- TOC -->
## Variable reference
### Mandatory variables
| Variable | Description | Example value |
|----------|-----------------|----------------------|
| pev_fqdn | The host's fqdn | `explain.cosium.com` |
## Upgrade
Launch this role with `-e pev_update_now=true` or `-e global_update_now=true`