Skip to content

Commit e57d38c

Browse files
committed
Ansible pg_upgrade.yml pre_check is failed when postgresql_version is int
* regex_replace ansible filter expects a string or pattern otherwise it fails with the error. "first argument must be string or compiled pattern"
1 parent 65939d6 commit e57d38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

automation/vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ consul_services:
173173

174174

175175
# PostgreSQL variables
176-
postgresql_version: 16
176+
postgresql_version: "16"
177177
# postgresql_data_dir: see vars/Debian.yml or vars/RedHat.yml
178178
postgresql_listen_addr: "0.0.0.0" # Listen on all interfaces. Or use "{{ inventory_hostname }},127.0.0.1" to listen on a specific IP address.
179179
postgresql_port: 5432

0 commit comments

Comments
 (0)