From d14fd11cdb38bee7bc1b653a379223b253d57f14 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 26 Oct 2023 12:50:47 +0200 Subject: [PATCH] psql_version is a variable and not a string. --- tasks/configure-access.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure-access.yml b/tasks/configure-access.yml index 650db10..e7c32ce 100644 --- a/tasks/configure-access.yml +++ b/tasks/configure-access.yml @@ -6,7 +6,7 @@ block: - name: configure-access | Give access to the remote postgresql client community.postgresql.postgresql_pg_hba: - dest: "{{ psql_conf_base_dir }}/{{ item.pgsql_version | default('psql_version') }}/main/pg_hba.conf" + dest: "{{ psql_conf_base_dir }}/{{ item.0.pgsql_version | default(psql_version) }}/main/pg_hba.conf" contype: '{% if psql_force_ssl_client_connection %}hostssl{% else %}host{% endif %}' users: '{{ item.0.user }}' address: '{{ item.1 }}'