galaxyproject / galaxyproject/ansible-postgresql

Unable to find a match: postgresql*-server

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
126
Forks
61
PR merge metrics
No merged PRs in 30d

Description

I have a fresh Rocky Linux 8 VM ([vggp-v60-j326-d1dfcf46c4cd-main](https://github.com/usegalaxy-eu/vgcn)) however installing postgresql15-server fails at the install step:
https://github.com/galaxyproject/ansible-postgresql/blob/f23cb7a2fca78cad977c5db09e489a983bc6411f/tasks/redhat.yml#L50

with:
```
All matches were filtered out by modular filtering for argument: postgresql15-server
Error: Unable to find a match: postgresql15-server
```
Should this case be covered by the role?

Additionally, manually installing with AppStream disabled, resulted in the same error (`sudo yum --disablerepo AppStream install postgresql15-server`) and the only way I've found to resolve the issue was to disable the postgresql stream module in AppStream: `sudo yum module disable postgresql`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the PostgreSQL 15 installation on a fresh Rocky Linux 8 VM, then inspect the package-install task in tasks/redhat.yml around line 50. Compare the role's behavior with disabling the PostgreSQL AppStream module. Done means the role can install postgresql15-server successfully on this environment or clearly documents the unsupported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, postgresql
Domain
databases, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.