Project

Profile

Help

Issue #4510

Ansible roles: Separate installing postgres from configuring it

Added by cognifloyd 8 months ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 3 installer
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 49

Description

As a user, let me use the pulp3-postgres role in a way that only configures the postgres db without installing postgres (or SCL). This is helpful when I have either (a) vetted a postgres install process (eg a standardized role), or (b) an existing postgres server (or cluster) that the pulp db should be added to.

Currently, the postgres role unconditionally installs SCL and then uses a fork of geerlingguy.postgresql to install postgres.

It looks like an older version used a different role and had a flag that disabled running the installation tasks. A flag (defaulting to on) would satisfy me.


Related issues

Blocks Pulp - Task #4312: Switch Travis-CI to use Pulp 3 installer MODIFIED Actions

Associated revisions

Revision e55b0f83 View on GitHub
Added by amacdona@redhat.com 8 months ago

Make postgresql installation optional

For use with systems that already have postgresql installed.
https://pulp.plan.io/issues/4510
fixes #4510

History

#1 Updated by amacdona@redhat.com 8 months ago

  • Blocks Task #4312: Switch Travis-CI to use Pulp 3 installer added

#2 Updated by amacdona@redhat.com 8 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to amacdona@redhat.com
  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
  • Sprint set to Sprint 49
  • Tags Pulp 3 added

Thanks, yes-- this is a reasonable request and it needs to be done very soon, so I'm taking it.

#3 Updated by amacdona@redhat.com 8 months ago

  • Status changed from ASSIGNED to POST

@cognifloyd, my use case for this work is somewhat complex and still relies on some other changes. If you have the chance, please try this out and let me know if it fixes your case.

https://github.com/pulp/ansible-pulp3/pull/86

#4 Updated by amacdona@redhat.com 8 months ago

  • Status changed from POST to MODIFIED

#5 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF