Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ansible/artifactory] Postgresql 13 is available in RHEL's AppStream #300

Closed
bbaassssiiee opened this issue Jun 6, 2023 · 5 comments
Closed
Labels
enhancement New feature or request

Comments

@bbaassssiiee
Copy link
Contributor

bbaassssiiee commented Jun 6, 2023

Artifactory is needed to secure our software supply chain, yet it does not take full advantage of the RHEL 8 distribution.

Installing Artifactory on-premises is a bit hard given the requirements of the postgres and nginx roles in the ansible installer. These rely on postgresql.org and nginx.org, which in our case would need to be allowed in our proxy.

No need to create a new repository which would require internet access & proxy configuration. Recent versions of RHEL/Rocky/AlmaLinux have Postgresql in their appstream, you only need to enable it.

dnf install -y @postgresql:13

Or

yum module install postgresql:13

@bbaassssiiee
Copy link
Contributor Author

bbaassssiiee commented Jun 13, 2023

You could offer a choice like https://github.com/dockpack/base_postgres/blob/0aa7ad17b572aeb800f392041542cd3f852cf107/tasks/main.yml#L31

- name: Install from the package manager
  when: not use_postgresql_org_repo
  include_tasks: on_prem_install.yml

- name: Install from internet
  when: use_postgresql_org_repo|bool
  include_tasks: internet_install.yml

@bbaassssiiee
Copy link
Contributor Author

Similar to #111 we'd like to be able to install in an air-gapped environment with URLs for RedHat packages and repo keys.

@chukka chukka added the enhancement New feature or request label Jun 30, 2023
@bbaassssiiee
Copy link
Contributor Author

Now that Centos7/RHEL7 are no longer supported it's simpler to implement.

@bbaassssiiee
Copy link
Contributor Author

Closing due to neglect.

@bbaassssiiee bbaassssiiee closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants