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 }}'