fix: add geerlingguy.postgresql to requirements.yml (used by db.w5isp.com)

This commit is contained in:
Graham McIntire 2026-06-04 14:41:25 -05:00
parent 8d50d412c6
commit ec372fd399
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59
2 changed files with 8 additions and 7 deletions

View file

@ -44,10 +44,6 @@
## 🔴 Broken Infrastructure (will fail at runtime)
| # | Issue | Location |
|---|-------|----------|
| 8 | **`geerlingguy.postgresql` not in `requirements.yml`** — Role referenced in `playbook.yml:73` for `postgresql_servers` but not installable via `ansible-galaxy`. | `playbook.yml:73`, `requirements.yml` |
---
## 🔴 Runtime Crashes (undefined template variables)
@ -116,6 +112,7 @@ All items in this section have been fixed.
| 9 | `alpine` role referenced but doesn't exist | Removed `include_role` from `roles/base/tasks/main.yml` |
| 5 | `general.yml` does not exist | Makefile targets updated to use `playbook.yml`; docker/build targets removed |
| 6 | No `Dockerfile` at repo root | All docker/build/push targets removed from Makefile |
| 8 | `geerlingguy.postgresql` not in `requirements.yml` | Added with version pin 3.4.3 |
| 10 | Orphaned `host_vars/db.aprs.me.yml` with no inventory entry | Deleted (superseded by `db.w5isp.com`) |
| 12-15 | Undefined template variables (ntpserver, template_run_date, deb_mirror, sshd.*) | Added `| default()` fallbacks |
| -- | Alpine role reference to non-existent role | Removed from `roles/base/tasks/main.yml` |
@ -123,7 +120,7 @@ All items in this section have been fixed.
---
## Recommended Top 2 Fixes
## Recommended Fix
1. **Rotate all 4 plaintext secrets in `.envrc`** and move to `ansible-vault`
2. **Add `geerlingguy.postgresql` to `requirements.yml`** — will crash otherwise

View file

@ -14,4 +14,8 @@ collections:
- name: community.mysql
version: ">=3.0.0" # Required for Icinga2 MySQL management
- name: netbox.netbox
version: ">=3.0.0" # Required for NetBox automation
version: ">=3.0.0" # Required for NetBox automation
roles:
- name: geerlingguy.postgresql
version: "3.4.3"