Actions
Issue #6896
open[pulp_installer] Parametrize postgres package in roles/pulp_database
Status:
NEW
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
As a user, while the default postgresql package is called rh-postgrelsql96 - which is fine - I would like to be able to specify a different package name, as we can specify various diffferents parameters name.
It is currently hardcoded at the playbook level[1] which prevents any overloading.
Updated by dkliban@redhat.com over 4 years ago
The link in the description points to an SCL name. The issue description discusses a package name. Do you want a parameter for an SCL name or a package name?
Updated by spredzy over 4 years ago
The playbook is using the package ansible module. Hence why package name has been used here.
Goal here (for me) is to install rh-postgres10
package but it should work if my package would be named redhat-postgres-yolo
for example.
Also I am aware that if we do that, one should also update:
- The profile file https://github.com/pulp/pulp_installer/blob/master/roles/pulp_database/templates/postgresql_scl_profile.j2#L2 (and make it optional if no scl is used - or use a different role and set install_db to false)
- All the
_postgres*
variables https://github.com/pulp/pulp_installer/blob/master/roles/pulp_database/vars/RedHat-7.yml
Actions