psql_version is a variable and not a string.
This commit is contained in:
parent
68f5ced075
commit
d14fd11cdb
|
@ -6,7 +6,7 @@
|
||||||
block:
|
block:
|
||||||
- name: configure-access | Give access to the remote postgresql client
|
- name: configure-access | Give access to the remote postgresql client
|
||||||
community.postgresql.postgresql_pg_hba:
|
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 %}'
|
contype: '{% if psql_force_ssl_client_connection %}hostssl{% else %}host{% endif %}'
|
||||||
users: '{{ item.0.user }}'
|
users: '{{ item.0.user }}'
|
||||||
address: '{{ item.1 }}'
|
address: '{{ item.1 }}'
|
||||||
|
|
Loading…
Reference in New Issue