Skip to content

Commit ea16e59

Browse files
authored
Automate installation of pgcenter, etc
1 parent d8ae93e commit ea16e59

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

vars/Debian.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ apt_repository_keys:
2222
- key: "https://www.postgresql.org/media/keys/ACCC4CF8.asc" # postgresql repository apt key
2323
apt_repository:
2424
- repo: "deb https://apt.postgresql.org/pub/repos/apt/ {{ ansible_distribution_release }}-pgdg main" # postgresql apt repository
25+
- repo: "deb https://apt.postgresql.org/pub/repos/apt/ {{ ansible_distribution_release }}-pgdg main 14" # to install 14beta3 or later
2526
# - repo: "deb https://deb.debian.org/debian/ {{ ansible_distribution_release }} main" # debian repo (optional)
2627
# - repo: "deb https://deb.debian.org/debian/ {{ ansible_distribution_release }}-updates main" # debian repo (optional)
2728
# - repo: "deb https://security.debian.org/debian-security/ {{ ansible_distribution_release }}/updates main" # debian repo (optional)
@@ -135,6 +136,8 @@ patroni_pip_package_repo: []
135136
patroni_deb_package_repo: []
136137
# - "https://apt.postgresql.org/pub/repos/apt/pool/main/p/patroni/patroni_1.6.5-2.pgdg100%2B1_all.deb" # (package for Debian 10)
137138

139+
# pgcenter
140+
pgcenter_deb_package_file: "https://github.com/lesovsky/pgcenter/releases/download/v0.9.2/pgcenter_0.9.2_linux_amd64.deb"
138141

139142
# ================================================================================================= #
140143
# (optional) if installation_method: "file"
@@ -184,7 +187,8 @@ haproxy_src_file: "haproxy-1.8.20.tar.gz" # http://www.haproxy.org/download/1.8
184187
# ------------------------------------------------------------------------------------------------- #
185188
# (optional) Specify additional deb packages if required (for any installation_method)
186189
# this packages will be installed before all other packages.
187-
packages_from_file: []
190+
packages_from_file:
191+
- "pgcenter_0.9.2_linux_amd64.deb"
188192
# - "my-package-name_1_amd64.deb"
189193
# - "my-package-name_2_amd64.deb"
190194
# - ""

0 commit comments

Comments
 (0)