forked from EnterpriseDB/edb-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.yml
80 lines (68 loc) · 2.87 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
# Postgres EDB Postgres Advanced Server CentOS 7 and RHEL 7
# PG_RPMREPO: "https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm"
# Prior to 06/23/2020 - Redesign of EDB Portal
# 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
enable_edb_repo: true
repo_token: ""
repo_username: ""
repo_password: ""
tpa_subscription_token: ""
install_bdr_packages: false
# set to false only if you are using local repositories and do not need the PGDG and/or EPEL repositories.
# setting to false will result in failure to download required packages if access to local repos is not available
enable_pgdg_repo: true
enable_epel_repo: true
# EDB RPM Repo
edb_rpm_repo: "http://yum.enterprisedb.com/edbrepos/edb-repo-latest.noarch.rpm"
edb_gpg_key_8: "https://yum.enterprisedb.com/ENTERPRISEDB-GPG-KEY"
edb_2q_base_repo_link: "https://techsupport.enterprisedb.com/api/repository/{{ tpa_subscription_token }}/products"
edb_2q_repositories:
- bdr4/release
- harp/release
edb_repo_script_link: "https://downloads.enterprisedb.com/{{ repo_token }}/enterprise/setup.{{ 'rpm' if ansible_os_family == 'RedHat' else 'deb' }}.sh"
# debian/ubuntu Repo
edb_deb_repo_url: "deb [arch=amd64] https://apt.enterprisedb.com/{{ ansible_distribution_release }}-edb/ {{ ansible_distribution_release }} main"
edb_deb_9_base_repo_url: "https://{{ repo_username }}:{{ repo_password }}@apt.enterprisedb.com/{{ ansible_distribution_release }}-edb/"
edb_deb_9_repo_url: "deb {{ edb_deb_9_base_repo_url }} {{ ansible_distribution_release }} main"
edb_deb_keys: "https://apt.enterprisedb.com/edb-deb.gpg.key"
edb_auth_conf: "/etc/apt/auth.conf.d/edb.conf"
edb_auth_conf_url: "machine apt.enterprisedb.com"
pg_deb_repo_url: "deb http://apt.postgresql.org/pub/repos/apt/ {{ ansible_distribution_release }}-pgdg main"
pg_deb_keys: "https://www.postgresql.org/media/keys/ACCC4CF8.asc"
# Postgresql Repos
pg_rpm_repo_7: "https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm"
pg_rpm_repo_8: "https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm"
pg_gpg_key_8: "http://yum.postgresql.org/RPM-GPG-KEY-PGDG"
# epel Repo
epel_repo_7: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"
epel_repo_8: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
epel_gpg_key_8: "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-8"
os: ""
pg_type: "PG"
apt_additional_repos: []
yum_additional_repos: []
supported_os:
- CentOS7
- CentOS8
- RedHat7
- RedHat8
- Ubuntu20
- Debian9
- Debian10
- Rocky8
- AlmaLinux8
- OracleLinux7
supported_pg_type:
- EPAS
- PG
- DBaaS
supported_pg_version:
- 10
- 11
- 12
- 13
- 14
- 15