From e57d38c6bfedc045fc3ea3b33b817d9e253d4d9f Mon Sep 17 00:00:00 2001 From: ruslanloman Date: Wed, 2 Oct 2024 12:20:15 -0400 Subject: [PATCH] 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" --- automation/vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/vars/main.yml b/automation/vars/main.yml index 9646c72ca..06b3e1559 100644 --- a/automation/vars/main.yml +++ b/automation/vars/main.yml @@ -173,7 +173,7 @@ consul_services: # PostgreSQL variables -postgresql_version: 16 +postgresql_version: "16" # postgresql_data_dir: see vars/Debian.yml or vars/RedHat.yml 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. postgresql_port: 5432