talas-group/04_INFRA_DEPLOIEMENT/Ansible/roles/postgres-explain-visualizer/readme.md

26 lines
844 B
Markdown
Raw Normal View History

# 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`