Skip to content

Commit 54a17c0

Browse files
committed
update the vip-manager version (use API v3)
1 parent 34bd2cb commit 54a17c0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

roles/vip-manager/handlers/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- name: Wait for the cluster ip address (VIP) "{{ cluster_vip }}" is running
1212
wait_for:
1313
host: "{{ cluster_vip }}"
14-
port: "{{ ansible_ssh_port | default(22) }}"
14+
port: "{{ postgresql_port | default(5432) }}"
1515
state: started
1616
timeout: 60
1717
delay: 2

vars/Debian.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ postgresql_packages:
5959

6060
# Extra packages
6161
etcd_package_repo: "https://github.com/etcd-io/etcd/releases/download/v{{ etcd_ver }}/etcd-v{{ etcd_ver }}-linux-amd64.tar.gz"
62-
vip_manager_package_repo: "https://github.com/cybertec-postgresql/vip-manager/releases/download/v{{ vip_manager_version }}/vip-manager_{{ vip_manager_version }}-1_amd64.deb"
62+
vip_manager_package_repo: "https://github.com/cybertec-postgresql/vip-manager/releases/download/v{{ vip_manager_version }}/vip-manager_{{ vip_manager_version }}_Linux_x86_64.deb"
6363
# (if with_haproxy_load_balancing: true)
6464
haproxy_installation_method: "deb" # (default)"deb" or "src"
6565
haproxy_install_repo: true # or 'false'

vars/RedHat.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ postgresql_packages:
8080

8181
# Extra packages
8282
etcd_package_repo: "https://github.com/etcd-io/etcd/releases/download/v{{ etcd_ver }}/etcd-v{{ etcd_ver }}-linux-amd64.tar.gz"
83-
vip_manager_package_repo: "https://github.com/cybertec-postgresql/vip-manager/releases/download/v{{ vip_manager_version }}/vip-manager-{{ vip_manager_version }}-1.x86_64.rpm"
83+
vip_manager_package_repo: "https://github.com/cybertec-postgresql/vip-manager/releases/download/v{{ vip_manager_version }}/vip-manager_{ vip_manager_version }}_Linux_x86_64.rpm"
8484
# (if with_haproxy_load_balancing: true)
8585
haproxy_installation_method: "rpm" # (default)"rpm" or "src"
8686
haproxy_install_repo: true # or 'false' # only for RedHat/CentOS version 7.

vars/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ haproxy_timeout:
3939
server: "60m"
4040

4141
# vip-manager (if cluster_vip is specified and with_haproxy_load_balancing: false)
42-
vip_manager_version: "1.0.2" # version to install
42+
vip_manager_version: "2.1.0" # version to install
4343
vip_manager_conf: "/etc/patroni/vip-manager.yml"
4444
vip_manager_interval: "1000" # time (in milliseconds) after which vip-manager wakes up and checks if it needs to register or release ip addresses.
4545
vip_manager_iface: "{{ vip_interface }}" # interface to which the virtual ip will be added

0 commit comments

Comments
 (0)