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

Add support for standard EDB subscription plan for repo script download #621

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions roles/setup_repo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ When executing the role via Ansible these are the required variables:
EDB repository token used to access EDB package repository.
Required when **enable_edb_repo** is set to `true` and **repo_username** and **repo_password** aren't used.

* **repo_plan**

Configure the EDB support plan. Plans supported are: `standard` and `enterprise`. Default: `enterprise`

* **enable_pgdg_repo**

Configure access to the PGDG package repository. Default: `true`. Only set to `false` when using local repositories.
Expand Down
5 changes: 3 additions & 2 deletions roles/setup_repo/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
# PG_RPMREPO: "https://yum.enterprisedb.com/edb-repo-rpms/edb-repo-latest.noarch.rpm"
# After 06/23/2020 - Redesigned EDB Portal

# EDB repository username, password and subscription token
# EDB repository username, password, subscription token and subscription plan
enable_edb_repo: true
repo_token: ""
repo_username: ""
repo_password: ""
repo_plan: "enterprise"

# TPA Specific token variable
tpa_subscription_token: ""
Expand Down Expand Up @@ -37,7 +38,7 @@ edb_2q_repositories:
- bdr4/release
- harp/release
edb_repo_base_download: "https://downloads.enterprisedb.com/{{ repo_token }}"
edb_repo_script_link: "{{ edb_repo_base_download }}/enterprise/setup.{{ 'rpm' if ansible_os_family == 'RedHat' else 'deb' }}.sh"
edb_repo_script_link: "{{ edb_repo_base_download }}/{{ repo_plan }}/setup.{{ 'rpm' if ansible_os_family == 'RedHat' else 'deb' }}.sh"

# EDB postgres_distributed RPM repo links
pgd_rpm_repo:
Expand Down
Loading